LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Network card config Debian (https://www.linuxquestions.org/questions/linux-newbie-8/network-card-config-debian-181047/)

dicou 05-13-2004 08:03 AM

Network card config Debian
 
Hi everybody, thks for previous answer
i have another probleme.
I succeed to config the network card under KDE thanks to the wizard.
But know i want to configure it under fluxbox with the 'ifconfig' command line.
ip : 10.0.0.100
netmask : 255.0.0.0
gateway:10.0.0.138
DNS:213.36.80.1
so i know that it begin with : ifconfig eth0 10.0.0.100 netmask 255.0.0.0....
but i dont know the follow, especially how to include the nameserver(DNS)
if anyone know the perfect line, it will be great, thx again all.
:newbie:

peacebwitchu 05-13-2004 08:45 AM

for dns put nameservers in /etc/resolv.conf with this syntax

nameserver xxx.xxx.xxx.xxx


To configure the interfaces use the /etc/network/interfaces file


auto eth0
iface eth0 inet static
address 10.0.0.100
netmask 255.255.255.0
network 10.0.0.0
broadcast 10.0.0.255
gateway 10.0.0.138


Your netmask is very large I would suggest using a correct subnet mask.


All times are GMT -5. The time now is 04:55 PM.