LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-30-2003, 05:03 AM   #1
binskin
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Rep: Reputation: 0
Unhappy ADSL Connected ... but not?


Im trying to set up a mandrake 9.1 machine to serve as a firewall/gateway for my home network of xp machines.

My isp is telstra (au company) whom offer no support what so ever for linux, after running adsl-start and successfully connecting, which is not a problem, i cant do anything ... cant surf the web, cant ping any www addresses

result of adsl-connect:

adsl-status: Link is up and running on interface ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:203.51.12.40 P-t-P:172.31.17.24 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:54 (54.0 b) TX bytes:54 (54.0 b)

result of ifconfig

eth0 Link encap:Ethernet HWaddr 00:40:F4:85:33:9A
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:31 errors:0 dropped:0 overruns:0 frame:0
TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:2022 (1.9 Kb) TX bytes:1620 (1.5 Kb)
Interrupt:10
eth1 Link encap:Ethernet HWaddr 00:40:F4:85:3A:17
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:976 errors:0 dropped:0 overruns:0 frame:0
TX packets:3543 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:89120 (87.0 Kb) TX bytes:250342 (244.4 Kb)
Interrupt:5 Base address:0x2400
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1462 errors:0 dropped:0 overruns:0 frame:0
TX packets:1462 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:136113 (132.9 Kb) TX bytes:136113 (132.9 Kb)
ppp0 Link encap:Point-to-Point Protocol
inet addr:203.51.12.40 P-t-P:172.31.17.24 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:330 (330.0 b) TX bytes:54 (54.0 b)

Yes i am a n00b ... if anymore info would be required to try and suss out the prob. reply the post and ill supply all that i can.

Cheers - Ben
 
Old 10-30-2003, 05:15 AM   #2
pacman
Member
 
Registered: May 2003
Posts: 60

Rep: Reputation: 15
I remember mandrake has in its control center something like a internet-wizard that let's you easily connect to the internet just try it and if it says to you that a connection can't be made just try to ping some server. sometimes mandrake suckz a bit in reference to the drake wizard
 
Old 10-30-2003, 06:33 AM   #3
ullas
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Rep: Reputation: 0
hi..
check if u can ping an ip address.
try traceroute also
could be dns issue. check the /etc/resolve.conf
 
Old 10-30-2003, 07:07 AM   #4
binskin
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Ok - so i ran the drakgw net sharing wizard ...

then it all went down hill ...

it installed shorewall, then i got disconnected from my ssh session. i dont know what that has done (its a firewall i know that much)... ive had to reconnect a monitor etc to the box to get access to it as i can ping the 192.168.1.1 but nothing else, no more ssh, apache, webmin nothing ... my lan has since been totally cut off.

linux is sending me insane!!

Is their anything i can do??
 
Old 10-30-2003, 07:19 AM   #5
pacman
Member
 
Registered: May 2003
Posts: 60

Rep: Reputation: 15
damned drake... reconfigure drake internet thing and deactivate the firewall if you want to. if not try to configure the firewall.
 
Old 10-30-2003, 07:30 AM   #6
binskin
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Have i successfully picked the wrong distro for a n00b?

All i basically want the box to run is apache, samba so i can store some stuff, ssh, ftp, squid, mrtg and a firewall to offer me some sort of protection from the web (and hopefully get my Outgoing megs down from my bro's net useage so i can stay under this damn 3gig cap) ....
 
Old 10-30-2003, 07:46 AM   #7
pacman
Member
 
Registered: May 2003
Posts: 60

Rep: Reputation: 15
it's out of discussion that a mandrake linux is the right way for a linux newbie. but the things you require are not perfect for mandrake. there isn't a really wrong version for a specifical purpose only a not-as-right-as-another distri. i hate the mandrake control thing and it's little bugs (showing me i have no connection with eth0 while i already was online) and such things. a good friend of mine uses SuSE linux on his home server and it really does its job very well i think.
 
Old 10-30-2003, 07:47 AM   #8
binskin
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Or on the other hand if anyone has any basic steps i could take to configure shorewall to allow my internal network, 2 pcs on win xp 192.168.1.2 and .3 to share the network connection and get general access to the linux box id also be cheering.

Thanks guys.
 
Old 10-30-2003, 08:05 AM   #9
frandalla
Member
 
Registered: Oct 2003
Location: Tokyo - Japan
Distribution: Slackware
Posts: 348
Blog Entries: 1

Rep: Reputation: 37
want a tip? disable shorewall... it must be blocking everything by now... disconnect from your adsl ISP... are you sure the server demmanded in the adsl-setup wizard were provided ( the ip values or either the string "server" to tell it that your ISP will provide'em)? After that get connected to your ISP... try pinging something like google.com
did it work? fine... no? try pinging an ip address like 216.239.39.99 (it's google's ip) did it work? good!!! if not, hmmmm we have soe trouble ahead.
If pinging the ip worked take a look at your /etc/resolv.conf file... it should have the DNS servers inside it.... if it does not have'em that's the issue... give us some feedback about that.... if nothing of the above works we may start thinking about other issues....

hope that helps...
 
Old 11-02-2003, 03:34 AM   #10
cellist
Member
 
Registered: Oct 2003
Location: Cincinnati, OH
Distribution: Ubuntu 12.04
Posts: 145

Rep: Reputation: 16
Hi guys. This is my first post, so there you go. Another newbie in the neighborhood... I'm having his problem exactly, except I've done all those things you've talked about. Adsl-start says it connects just fine. There appear to be no problems when I run adsl-status or ifconfig. No error messages. But I can't ping anything beyond the modem (192.168.1.1). We actually have three XP machines and my Linux box hooked up to an 8-port switch, and the modem is hooked up to the switch, so we have a mini network going. We're all trying to use the same ADSL connection and I seem to be the only one with problems. I have another friend who hooked up their PowerBook (OS X) and it practically connected itself.

I disabled Shorewall as root by using the command shorewall stop. Shorewall status was still generating messages, but it appeared to have stopped. However, I still can't connect. Any ideas? I'm currently using RP-PPPoE and my provider is a PPPoE provider.

Thanks.
 
Old 11-02-2003, 11:23 AM   #11
cellist
Member
 
Registered: Oct 2003
Location: Cincinnati, OH
Distribution: Ubuntu 12.04
Posts: 145

Rep: Reputation: 16
I fixed it. It was a Shorewall problem I think. I went into /etc/shorewall/interfaces and added "net ppp0 -", restarted the computer, did adsl-start, and bam, it connected. Still can't ping from the command line for some reason though... but http is working though, and that's a start! A great start!!! Thought you might want to know.
 
  


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
ADSL Connection connected but can't ping any site? subaruwrx Debian 22 11-10-2005 05:27 PM
ADSL How do I get connected? marcp66 Linux - Newbie 2 08-30-2005 07:14 AM
Router ADSL connected but i can't use browser or apt Skie Linux - Networking 4 07-08-2005 02:53 AM
adsl-start says connected, but I can't browse! dtheorem Linux - Networking 1 08-23-2004 01:25 PM
usb adsl modem (connected) flump Linux - Hardware 2 08-20-2003 02:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:46 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration