element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
BeagleBoard
  • Products
  • Dev Tools
  • Single-Board Computers
  • BeagleBoard
  • More
  • Cancel
BeagleBoard
Forum Changing Static Ip adderess.
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join BeagleBoard to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 14 replies
  • Answers 4 answers
  • Subscribers 103 subscribers
  • Views 3513 views
  • Users 0 members are here
Related

Changing Static Ip adderess.

daniel689
daniel689 over 6 years ago

I am trying to change the IP address of my Beagle.   My google attemps have lead me to modifying the interfaces file using a nano editor.   

 

 

 

I have edited the file to

 

# The primary network interface

auto eth0

iface eth0 inet static

address 192.168.1.80

netmask 255.255.255.0

gateway 192.168.1.1

…

# Ethernet/RNDIS gadget (g_ether)

iface usb0 inet static

address 192.168.7.4

netmask 255.255.255.0

network 192.168.7.0

gateway 192.168.7.1

 

 

I was expecting it to change when saved but it is clearly not.   It still says 192.168.7.2.

 

 

 

I was ex

  • Sign in to reply
  • Cancel

Top Replies

  • mp2100
    mp2100 over 6 years ago +1 suggested
    Daniel, do you want to change both the USB address and the Ethernet address? Normally I leave the USB at the default (192.168.7.2). For the Ethernet (your example is 192.168.1.80) you can try a reboot…
  • shabaz
    shabaz over 6 years ago +1 suggested
    Hi Daniel, I don't know the answer, but I'm guessing it is because that's a special interface, it may restrict itself to only certain addresses (despite being configured as a /24 network in the file you…
  • shabaz
    shabaz over 6 years ago in reply to clem57 +1 suggested
    Hi Clem, I'm not sure this will work. There's an earlier link pasted above, that suggest connman is not used for USB network configuration. Text from there: OK, figured it out. The usb0 interface is not…
Parents
  • clem57
    0 clem57 over 6 years ago

    Very important! Are you using Angstrom on the BBB? If so, it uses Connman which is script driven. Do this to find out:

    uname  -a

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • daniel689
    0 daniel689 over 6 years ago in reply to clem57

    No Angstrom

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • daniel689
    0 daniel689 over 6 years ago in reply to clem57

    No Angstrom

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • shabaz
    0 shabaz over 6 years ago in reply to daniel689

    You're using the six-year old Angstrom image? That would have been helpful information in the first post..

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • daniel689
    0 daniel689 over 6 years ago in reply to shabaz

    I am so confused.   It said Debian on the download link.  

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • daniel689
    0 daniel689 over 6 years ago in reply to daniel689

    I can see refrences in some of the image files to both Debian and Angstrom

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 6 years ago in reply to daniel689

    I can understand why. Looking at https://en.wikipedia.org/wiki/%C3%85ngstr%C3%B6m_distribution  this release is based on Poky Linux with addition of opkg. That part is from Debian. Life is not so simple I guess. But do the following to pin it down:

    uname -a

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube