LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Internet (https://www.linuxquestions.org/questions/linux-newbie-8/internet-408133/)

dan6540 01-26-2006 04:48 AM

Internet
 
Hello, I am a new user to SUSE 10, and this is my first time using linux. The problem I'm having is connecting to the internet, I have a dlink wireless modem/router, which has an ethernet cable connected to my linux computer. Can anyone help me configure linux so that it can pick up the internet signal from the ethernet/network cable?????

Agrouf 01-26-2006 04:59 AM

What is the output of ifconfig -a please?

dan6540 01-26-2006 05:10 AM

I dont know the iconfig- is this a problem??where do I find this output? I also have a wireless network adapter-which is an usb one-but linux doesn't seem to realize its there

muha 01-26-2006 05:22 AM

open a terminal or konsole or something where you can type away.
Log in as root so type:
su
<enter>
<type in your root password>
<enter>
ifconfig -a
<enter>
and copy-paste the output to this forum!

dan6540 01-26-2006 08:46 AM

the output of iconfig -a is

eth0 Link encap:Ethernet HWaddr 00:30:BD:1A:D0:AC
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::230:bdff:fe1a:d0ac/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:31 errors:0 dropped:0 overruns:0 frame:0
TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8024 (7.8 Kb) TX bytes:3542 (3.4 Kb)
Interrupt:11 Base address:0x4f00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:42 errors:0 dropped:0 overruns:0 frame:0
TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2708 (2.6 Kb) TX bytes:2708 (2.6 Kb)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

pixellany 01-26-2006 08:52 AM

What is the complete connection setup? eg cable to modem to router to computer. (or phone line to DSL modem to....)

your ifconfig includes an IP address that looks like the address given by the router.

Can you access the router configuration menu (typically by typing 192.168.1.1 in a browser address line---your router docs supersede this)

Can you ping the router? (ping 192.168.1.1 in a terminal window)

Agrouf 01-26-2006 11:59 AM

open your web browser and go to address http://192.168.1.1
Enter your connection parameters there.
When your router is connected to the internet, enter the command 'route' in the terminal.
There should be a line looking like this :
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

If this line doesn't appear, enter this command :
route add default gw 192.168.1.1

Then type route again to see if the line appears.

Then try 'ping www.linuxquestions.org'
You should see something like this :
PING www.linuxquestions.org (64.179.4.149) 56(84) bytes of data.
64 bytes from web1.linuxquestions.org (64.179.4.149): icmp_seq=1 ttl=48 time=139 ms
64 bytes from web1.linuxquestions.org (64.179.4.149): icmp_seq=3 ttl=48 time=113 ms
Ctrl+c to stop it.

If this doesn't work, try 'ping 64.179.4.149'.
If this does work, your dns is probably fucked up and you have to add a line for your dns in the /etc/network/interface file, but I doubt you'll have to do this because it looks like you get your adress from the dhcp, so your dns is probably well configured.

Open your web browser and enjoy surfing

dan6540 01-27-2006 04:40 AM

Internet now working, thanks everyone for the help


All times are GMT -5. The time now is 02:16 PM.