which file can i set "ifconfig eth0 up"?
Code:
mathsniper:~# ifconfig eth0 |
Hello.
"/etc/sysconfig/network-scripts" contains some scripts you should look for |
Quote:
|
I don't think he realizes he posted in the Debian forum..
Look into /etc/network/interfaces and read man interfaces |
Quote:
|
try checking out the example file...
zcat /usr/share/doc/ifupdown/examples/network-interfaces.gz | more basically for a eth0 with dhcp you would need auto eth0 iface eth0 inet dhcp for a eth0 with a static addr you would need auto eth0 iface eth0 inet static address 192.168.0.42 network 192.168.0.0 netmask 255.255.255.0 broadcast 192.168.0.255 gateway 192.168.0.1 |
Quote:
The man pages explain it better than anyone else can and are very useful. |
All times are GMT -5. The time now is 09:55 PM. |