Networking Forums

Networking Forums > Computer Networking > Linux Networking > Adsl-start says 'connected' but the net is inaccessible

Reply
Thread Tools Display Modes

Adsl-start says 'connected' but the net is inaccessible

 
 
Alessandro
Guest
Posts: n/a

 
      11-17-2005, 11:29 AM
I'm trying to access my ADSL line
through Wifi with my laptop (Mdk 10.1).

The pcmcia card works fine, and the first time
I've executed ''adsl-start'' (after an appropriate
specification of the access parameters using
''adsl-setup'') everything was working fine.

Afterwards, the net became inaccessible.

Now, if I launch ''adsl-start'', after some ping,
the script says that I'm connected, and the
output of ''route -n'' is:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
212.151.128.128 0.0.0.0 255.255.255.255 UH 0 0 0
ppp0
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0
wlan0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
lo
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0
wlan0

Does some of you has any idea of what is going wrong?

Thanks in advance.

Alessandro

 
Reply With Quote
 
 
 
 
Clifford Kite
Guest
Posts: n/a

 
      11-17-2005, 12:17 PM
Alessandro <(E-Mail Removed)> wrote:
> I'm trying to access my ADSL line
> through Wifi with my laptop (Mdk 10.1).


> The pcmcia card works fine, and the first time
> I've executed ''adsl-start'' (after an appropriate
> specification of the access parameters using
> ''adsl-setup'') everything was working fine.


> Afterwards, the net became inaccessible.


> Now, if I launch ''adsl-start'', after some ping,
> the script says that I'm connected, and the
> output of ''route -n'' is:


> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 212.151.128.128 0.0.0.0 255.255.255.255 UH 0 0 0
> ppp0
> 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0
> wlan0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
> lo
> 0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0
> wlan0


> Does some of you has any idea of what is going wrong?


It looks like you use pppd with PPPoE ADSL and set a default route
through the wlan0 interface before bringing up the PPPoE Internet
connection. If there is an existing default route then pppd won't
set a default route, even with the defaultroute option. Thus no
Internet access.

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
 
Reply With Quote
 
Alessandro
Guest
Posts: n/a

 
      11-17-2005, 03:48 PM
I suspect you're right.

The point is that I intend to use a lan (ethernet)
connection at work and my wifi ADSL at home.

Is it possible to delete this ''default route''
without loosing my lan access?

 
Reply With Quote
 
Thomas Bosch
Guest
Posts: n/a

 
      11-17-2005, 04:30 PM
Alessandro wrote:

> I suspect you're right.
>
> The point is that I intend to use a lan (ethernet)
> connection at work and my wifi ADSL at home.
>
> Is it possible to delete this ''default route''
> without loosing my lan access?


Yes of course.

Delete the default route ('route del default') and then dial in. Then pppd
will set the default route to ppp0. Any access going to the 192.168.2.0
network will still go over wlan0.

 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      11-17-2005, 05:40 PM
Alessandro <(E-Mail Removed)> wrote:
> I suspect you're right.


> The point is that I intend to use a lan (ethernet)
> connection at work and my wifi ADSL at home.


> Is it possible to delete this ''default route''
> without loosing my lan access?


I'm not sure which "lan" you mean, but I'll assume it's the Ethernet
one at work. If so then yes, you should be able to delete the default
route through wlan0 and not lose access at work. And other WLAN hosts
at home connected through wlan0 should still be able to chat with the
laptop since there is a wlan0 network route.

But it appears that the laptop is connected to an ADSL line at home
and in order for any other wlan0 host there to access the Internet
through the laptop ADSL connection it seems that Masquerade, SNAT,
or NAT will be required. The wlan0 network is "private," i.e., any
IP address in 192.168.0.0/16 will be dropped by the first properly
configured Internet router.

It's only fair to admit that I've never used a laptop or a wireless
network. So this may be way off-track since in regard to anything
related to them where I must rely on intuition and guess-work rather
than hands-on experience.

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
/* Bluffing in a poker game can win big; bluffing in a newsgroup
only attracts sharks. */
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
When will providers start offering ADSL Max? Derek Broadband 6 04-29-2006 08:57 PM
FC3 connect with adsl-start does not work, please HELP! Ohmster Linux Networking 14 05-09-2005 12:25 PM
NDO ADSL connected but... Lo Salt Broadband 5 09-18-2004 04:10 PM
RH9: I need to start ADSL-START as root for the first time after boot .... Gabolander Linux Networking 3 08-13-2003 09:52 AM
how to run script after adsl-start 0 Linux Networking 4 07-30-2003 06:36 PM



1 2 3 4 5 6 7 8 9 10 11