LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-10-2005, 07:24 PM   #1
morganmcdermott
LQ Newbie
 
Registered: Jun 2005
Distribution: Slackware 10.0
Posts: 14

Rep: Reputation: 0
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 . 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.
 
Old 06-10-2005, 07:34 PM   #2
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
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
 
Old 06-10-2005, 08:04 PM   #3
morganmcdermott
LQ Newbie
 
Registered: Jun 2005
Distribution: Slackware 10.0
Posts: 14

Original Poster
Rep: Reputation: 0
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 .

NOTE: I have eth0 turned off at the moment.

Thanks again for your help,
Morgan McDermott.
 
Old 06-10-2005, 08:17 PM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
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
 
Old 06-10-2005, 08:20 PM   #5
morganmcdermott
LQ Newbie
 
Registered: Jun 2005
Distribution: Slackware 10.0
Posts: 14

Original Poster
Rep: Reputation: 0
Wow! Thank you very, very much egag.

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

Thanks tons...
Morgan McDermott.
 
Old 06-10-2005, 08:37 PM   #6
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables - servers not accessible from lan using external ip rubella Linux - Security 6 12-12-2005 09:16 PM
How to make my tfs external drive accessible to all not just root? banner Linux - General 1 06-28-2005 01:37 PM
setting an external IP address and a gateway moreblessings Linux - Networking 1 01-24-2005 11:29 AM
Can't Ping External NIC on Gateway From Intranet Node danfiggolfer Linux - Networking 0 01-02-2005 06:30 PM
Gateway problem, clients can't access some sites pheron Linux - Networking 2 03-06-2004 02:22 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration