PDA

View Full Version : netconfig.tcl cmd line parameters


TheSaint
10-08-2006, 11:17 AM
1. What are the command line options to netconfig.tcl ?

It appears to be: ipaddress netmask gateway ????

It's the 4th option that's not known. Several posts I've seen has strange numbers (at least I don't know what they are) for the 4th param. I've seen 4.2.2.2 used which doesn't make any sense.

2. I should comment out the following???

#load usb and ethernet modules
insmod /lib/modules/usbcore.o log2_irq_thresh=4
insmod /lib/modules/ehci-hcd.o
#insmod /lib/modules/ax8817x.o
insmod /lib/modules/usbnet.o
sleep 15

#configure Linksys USB200M
ifconfig eth0 192.168.1.200 broadcast 192.168.1.255 netmask 255.255.255.0
route add default gw 192.168.1.1

3. And the third, I understand it takes two reboots to activate this, right?


Thanks,
TheSaint

ScanMan
10-08-2006, 12:15 PM
1. What are the command line options to netconfig.tcl ?

It appears to be: ipaddress netmask gateway ????

It's the 4th option that's not known. Several posts I've seen has strange numbers (at least I don't know what they are) for the 4th param. I've seen 4.2.2.2 used which doesn't make any sense.

The 4th option is your DNS-server IP address. Either give it your ISP's DNS address, your router's IP (doesn't work for everyone) or a "fake" one 0.0.0.0.