LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   External sites not accessible thru gateway (https://www.linuxquestions.org/questions/slackware-14/external-sites-not-accessible-thru-gateway-332329/)

morganmcdermott 06-10-2005 07:24 PM

External sites not accessible thru gateway
 
Hello,
I am very new to slackware, and I find it a fun experience setting everything up. I finally got my wireless card (D-link DWL-520 rev. E) working with Prism drivers and HostAP, but I'm running into one problem when I try to access anything on the internet. I can ping other working Windows comps on the network, and I can also access the router's setup/home pages.

However, when I try to access any sites or ping computers not on the network, I get no response :confused:. I am sorry that I do not have a more specific diagnosis of my own problem, but I would greatly appreciate it if any of you could point me in the right direction of some tools that I can use to examine/fix this. I'm running a 2wire HomePortal 1000SW WAP/router (Yes, I know it's a horrible thing to use, much less have.. but $$ is a concern, and SBC shipped it to me for free ^_^)

NOTE: On all of the Windows machines I can access the internet fine and without issue. This is the first linux box I have attempted to introduce into this setup.

Thank you very much for your time,
Morgan McDermott.

egag 06-10-2005 07:34 PM

maybe take a look at the output of the command " route "
( do this as root )

i guess you cannot post it atm. , so ill post mine...
--------
root@slack21:/home/egag# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 * 255.255.255.0 U 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
loopback * 255.0.0.0 U 0 0 0 lo
default 10.0.0.138 0.0.0.0 UG 0 0 0 eth0
-----------

you'll have to have one line , starting with " default" , and pointing to your router-adress
( here : 10.0.0.138 )

do you have that ...?

egag

morganmcdermott 06-10-2005 08:04 PM

Thank you for your thoughtful reply, Egag.

I got something more like:

-------------------Output from route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
localnet * 255.255.0.0 U 0 0 0 wlan0
loopback * 255.255.0.0 U 0 0 0 lo
-------------------End Output from route

Looks to me like something isn't set-up.. Too bad I don't know what it is :p.

NOTE: I have eth0 turned off at the moment.

Thanks again for your help,
Morgan McDermott.

egag 06-10-2005 08:17 PM

well...try :

#route add default gw xxx.xxx.xxx.xxx

( fill in the adress of your router for xxxetc )
and see if things start working.

did you use " netconfig " to set up your network ?
do you use dhcp...?

egag

morganmcdermott 06-10-2005 08:20 PM

Wow! Thank you very, very much egag.

Just using that first command, I was able to access the internet ^_^.

Thanks tons...
Morgan McDermott.

egag 06-10-2005 08:37 PM

you can edit the file : " /etc/rc.d/rc.inet1.conf and fill in the
line "GATEWAY="".
( fill in the adress of the router )

and make sure /etc/rc.d/rc.inet1 is executable, so all will be set after boot.

egag


All times are GMT -5. The time now is 06:15 PM.