LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Getting my internet to work...? (https://www.linuxquestions.org/questions/linux-networking-3/getting-my-internet-to-work-153875/)

linux_dejan 03-05-2004 01:13 PM

Getting my internet to work...?
 
hello,

I just installed debian for the fort time and not so femilliar with it. I was asked to get my internet running durign the installation but it keept asking for my dialup number but my computer is connected to a home network and not using a dialup connection so I skipped that.

Now im sitting on the computer not knowing anything and definetly not knowing how to configure debian to find my network manually...??
Im using a 3Com network card thats connected to a router.

any help would be greatly appreciated!

Oliv' 03-05-2004 01:23 PM

try these commands:
ifconfig eth0 inet your_IP_address up
route add default gw router_IP_address dev eth0

linux_dejan 03-05-2004 01:37 PM

Thank you for your answer, although im not sure where to write all that? (im new to linux and still learning it :study: )

:)

Oliv' 03-05-2004 01:48 PM

Ok :)
Well, open a terminal (like an xterm) and log as root (just need to type "su" and it will prompt you for a password).
Then type the 2 commands. If that works you can add them permanently. For that add your gateway in /etc/gateway file. Add your DNS in /etc/resolv.conf. To configure permanently eth0...it's in /etc/sysconfig... I don't remember... but do:
cd /etc
find . -name \*eth0\*
and it's a file called ifup-eth0 or something similar


All times are GMT -5. The time now is 09:14 AM.