Click to See Complete Forum and Search --> : help with net connection
cotfessi
10-04-2001, 03:42 PM
I guess that this is a pretty simple question. I just got SDSL today with a static IP address. I have all the other numbers as well... DNS, gateway, subnet mask.
Where do I put these to my connection to work? I'm using debian testing.
thanks,
cotfessi
scanez
10-04-2001, 06:45 PM
Originally posted by cotfessi:
<STRONG>I guess that this is a pretty simple question. I just got SDSL today with a static IP address. I have all the other numbers as well... DNS, gateway, subnet mask.
Where do I put these to my connection to work? I'm using debian testing.
thanks,
cotfessi</STRONG>
Assuming your network card for this connection will be eth0, add the following to /etc/network/interfaces
auto eth0
iface eth0 inet static
address (ip)
netmask (netmask)
gateway (gateway)
broadcast (broadcast, which I think is optional)
then add to /etc/resolv.conf
nameserver (dns)
Then run
/etc/init.d/networking restart
and you should be on your way :)
Come back with any problems
SC
dvdnut
10-05-2001, 09:43 AM
dont put the brackets in though :)
Originally posted by cotfessi:
I guess that this is a pretty simple question. I just got SDSL today with a static IP address. I have all the other numbers as well... DNS, gateway, subnet mask.
Where do I put these to my connection to work? I'm using debian testing.
thanks,
cotfessi