Operating Systems > Linux and UNIX

setting up internet

(1/3) > >>

shuiend:
i finally got my wireless network card working in linux and was wondering how i set it up so i can get online with it. i am using suse 8.0 pro. i can ping the computers on my network but when i try to acces something outside the network is says host is unknown. my router is set to let wireless acces the internet and i was wondering how i set up SuSE to do it.

[ August 19, 2002: Message edited by: wild_jester / BOB ]

Master of Reality:
so you have wireless internet or a wireless LAN?

shuiend:
i have a wireless lan. my linksys router lets you acces the internet wirelessly. i know the card works and that you can get the internet cause it works in windows. i just need to figure out how to go thru my router to get the internet

Master of Reality:
so you have multiple computers on a LAN. One of the computers is connected to the linksys router.

you need to use the route command to make the computer which is connected to the internet be your default gateway.
# route add default gw 192.168.0.1
would make 192.168.0.1 your default gateway (which you would replace with the address of your router)

[ August 19, 2002: Message edited by: Master of Reality / Bob ]

[ August 19, 2002: Message edited by: Master of Reality / Bob ]

voidmain:
Sounds like you do not have your "default router" address set.  If you do a "netstat -rn" command it should list your routing table. Your routing table should look something like this:


--- Code: ---
--- End code ---

In my case my local network is 192.168.0.0/24 indicated on the first line and that network is accessible by interface eth0.  Without that line the system would not be able to talk to my local network and it certainly could not get beyond the local network.  The line that allows traffic from my computer to get beyon the local network is the last line.  It is the "default route".  Notice the "0.0.0.0" under "Destination" which means all traffic not handled by any other route in the list should be sent through my default gateway "192.168.0.1".  In your case it should be the address of your DSL/Cable router.  I am not familiar with SuSe's graphical tools but if there is one to configure your network interface there should be an entry for a "default router" or "default gateway" under the interface's configuration.  Put the address of your Cable/DSL router there and you should be able to get beyond your local network.

Navigation

[0] Message Index

[#] Next page

Go to full version