1 (edited by amiso 2010-10-15 14:38:59)

Topic: eth0 on a usb - ethrenet dongle: No DHCP protocol

Hi,
  I do not use wifi.  I have a usb to ethernet adapter dongle (nextech). I plug that in my chumby (hacker board) usb port. Then I type:

chumby->  ifconfig eth0 10.10.0.20    << one address on my own network

Then I type:

chumby->  ssh one_user@10.10.0.70     << one CPU in my network

YEAH: This works !

now; the question is:

Can someone give me some hints about how to set up the gateway and DNS in the configuration files?

I am looking to DISABLE the DHCP protocol!

I think that I will have to modify the inet script files, but maybe I have overlooked some .config files somewhere?  I am familiar with Slackware, which is quite different to the chumby (fedora?).

Thanks

Amiso

2

Re: eth0 on a usb - ethrenet dongle: No DHCP protocol

DNS goes into /etc/resolv.conf - it is a standard unix/linux file, typically having entries of the form "nameserver 8.8.4.4" with the IPs of the closest DNS server (typically your router).
For the gateway, it is the route command, and/or netstat -r to review.  E.g.
route add default dev eth0
route add default gw 10.10.0.1
You may also need a netmask.

I thing these are supposed to go into the /etc/network or /etc/sysconfig/network directory somewhere as defines, e.g. "GATEWAY=10.10.0.1" on a line in the file.

Here are some resources with mor information
http://www.cyberciti.biz/faq/setting-up … aces-file/
http://www.cyberciti.biz/tips/howto-ubu … ation.html
http://www.yolinux.com/TUTORIALS/LinuxT … rking.html

3 (edited by amiso 2010-10-15 18:28:18)

Re: eth0 on a usb - ethrenet dongle: No DHCP protocol

Great! This is a lot of information. Thanks.

Your first two links are related to ubuntu. Does that mean that the chumby core is built from the ubuntu distribution?

Amiso

4

Re: eth0 on a usb - ethrenet dongle: No DHCP protocol

Chumby isn't built on "Ubuntu", but many if not most Linux distributions have the same files and programs in the same place (I prefer Fedora, but mostly same files...).

Because there are a larger number of ubuntu users - or the other common distros - when you google for "help with X under Linux", it tends to say Ubuntu, Fedora, SUSE... instead of "linux" but the instructions are identical.