Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sagem adsl
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
qubaaa
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2006
Posts: 148

PostPosted: Sun Jan 07, 2007 1:14 pm    Post subject: sagem adsl Reply with quote

i did:
-emerge ppp,
-emerge ueagle-atm,
-checked in kernel:
Code:
ATM
Networking  --->
    Networking options  --->
        [*] Asynchronous Transfer Mode (ATM) (EXPERIMENTAL)
        [*] Classical IP over ATM (EXPERIMENTAL)
        [ ] LAN Emulation (LANE) support (EXPERIMENTAL)
        [ ] RFC1483/2684 Bridged protocols


Firmware loader
Device Drivers  --->
    Generic Driver Options  --->
        [*] Select only drivers that don't need compile-time external firmware
        [*] Prevent firmware from being built
        [*] Userspace firmware loading support
 
 
USB
Device Drivers  --->
    USB support  --->
        [*] Support for Host-side USB

        [*] EHCI HCD (USB 2.0) support
        [*] OHCI HCD support
        [*] UHCI HCD (most Intel and VIA) support

    USB DSL modem support  --->
       [*] USB DSL modem support
       [ ]  Speedtouch USB support
       [ ]  Conexant AccessRunner USB support
       [*] ADI 930 and eagle USB DSL modem
       [ ]  Other USB DSL modem support

PPP over ATM
Device Drivers  --->
    Network device support  --->
        [*] PPP (point-to-point protocol) support
        [ ]PPP multilink support (EXPERIMENTAL)
        [ ]PPP filtering
        [ ] PPP support for async serial ports
        [ ] PPP support for sync tty ports
        [*] PPP Deflate compression
        [*] PPP BSD-Compress compression
        [ ] PPP MPPE compression (encryption) (EXPERIMENTAL) (NEW)
        [ ] PPP over Ethernet (EXPERIMENTAL)
        [*] PPP over ATM

-edited /etc/conf.d/net
Code:
config_ppp0=( "ppp" )
link_ppp0="/dev/null"
link_ppp0="0.35"
plugins_ppp0=( "pppoa" )
username_ppp0='ZXXxXxx@neostrada.pl'
password_ppp0='axXxXXXX'
pppd_ppp0=( lock defaultroute noipdefault noauth holdoff 4 maxfail 25 persist asyncmap 0 lcp-echo-interval 2 lcp-echo-failure 7 )


is there something wrong? When i do /etc/init.d/net.ppp0 start it looks fine, but I can't connect to the internet, why?


Last edited by qubaaa on Thu Jan 11, 2007 4:34 pm; edited 2 times in total
Back to top
View user's profile Send private message
qubaaa
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2006
Posts: 148

PostPosted: Sun Jan 07, 2007 8:07 pm    Post subject: Reply with quote

latest info:

-I use ueagle-atm 1,2 and have 64-bit system,
-I type /etc/init.d/net.ppp0 start:
Log:
Code:
usb 4-2: [ueagle-atm] Modem started, waiting synchronization
usb 4-2: [ueagle-atm] modem operational
CLASS: registering class device: ID = 'ppp0'
class_uevent - name = ppp0

ifconfig:
Code:

ppp0      Link encap:Point-to-Point Protocol 
          inet addr:83.30.249.37  P-t-P:213.25.2.188  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:10 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:328 (328.0 b)  TX bytes:61 (61.0 b)


Also everything seems be fine, but it stil doesn't work :(
Back to top
View user's profile Send private message
qubaaa
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2006
Posts: 148

PostPosted: Mon Jan 08, 2007 2:20 pm    Post subject: Reply with quote

before I used an adsl modem, i used eth0 to the internet connection. Maybe I should do something to find the actually internet connection?
Back to top
View user's profile Send private message
amar_
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2006
Posts: 118

PostPosted: Mon Jan 08, 2007 3:29 pm    Post subject: Reply with quote

What doesn't work ? You can't browse? Try 'route add default ppp0'
_________________
My blog is here
Back to top
View user's profile Send private message
qubaaa
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2006
Posts: 148

PostPosted: Mon Jan 08, 2007 3:43 pm    Post subject: Reply with quote

Code:
 route -n                 
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
213.25.2.188    0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0


I can't browse and ping, anything. route does not help.
Back to top
View user's profile Send private message
jpl888
Guru
Guru


Joined: 13 Apr 2005
Posts: 337
Location: Piltown, Co. Kilkenny, Ireland.

PostPosted: Mon Jan 08, 2007 10:40 pm    Post subject: Reply with quote

Ok looking at your kernel config you need:-

Code:
PPP support for async serial ports
PPP support for sync tty ports


selected and you don't need:-

Code:
Classical IP over ATM


Also having:-

Code:
PPP Deflate compression
PPP BSD-Compress compression


enabled just seems to introduce latency on my connections.

Other than that put "debug" in you pppd options and lets have a look at you syslog once you've done that.

Also why have you "/dev/null" AND "0.35" you should only have 0.35?
Back to top
View user's profile Send private message
mrness
Retired Dev
Retired Dev


Joined: 17 Feb 2004
Posts: 375
Location: bucharest.ro

PostPosted: Tue Jan 09, 2007 8:51 am    Post subject: Reply with quote

qubaaa wrote:
Code:
 route -n                 
...
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0



Because you already have a default route, pppd will refuse to add such route.
Back to top
View user's profile Send private message
qubaaa
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2006
Posts: 148

PostPosted: Tue Jan 09, 2007 12:44 pm    Post subject: Reply with quote

also how can I delete default route (eth0) and add there ppp0?
I tried to do route del eth0, but it doesn't work.
Back to top
View user's profile Send private message
mrness
Retired Dev
Retired Dev


Joined: 17 Feb 2004
Posts: 375
Location: bucharest.ro

PostPosted: Tue Jan 09, 2007 1:01 pm    Post subject: Reply with quote

hmm, you really are a noob, aren't you?

There are 2 possible solutions to your problem, both require you to read the fine /etc/conf.d/net.example:
1) set a metric on eth0 (see metric_eth0)
2) don't set default route through eth0: if it is set by routes_eth0, comment that line; if it is set by DHCP client, disable default route setup by adding nogateway to dhcp_eth0.
Back to top
View user's profile Send private message
qubaaa
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2006
Posts: 148

PostPosted: Tue Jan 09, 2007 4:51 pm    Post subject: Reply with quote

and still nothing..

I compiled to kernel:
[ * ]PPP support for async serial ports
[ * ]PPP support for sync tty ports

and turned eth0 off.

My conf.d/net looks now so:
Code:

config_eth0=( "dhcp" )
metric_eth0=5000

config_ppp0=( "ppp" )
link_ppp0=( "0.35" )
plugins_ppp0=( "pppoa" )
username_ppp0='xxxxx@neostrada.pl'
password_ppp0='passxxx'
pppd_ppp0=( lock defaultroute noipdefault noauth holdoff 4 maxfail 25 persist asyncmap 0 lcp-echo-interval 2 lcp-echo-failure 7 )
metric_ppp0=1


ifconfig returns:
Code:
lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:12 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:720 (720.0 b)  TX bytes:720 (720.0 b)

ppp0      Link encap:Point-to-Point Protocol 
          inet addr:83.30.210.186  P-t-P:213.25.2.188  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:18 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:1197 (1.1 Kb)  TX bytes:1110 (1.0 Kb)

and route -n
Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
213.25.2.188    0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         213.25.2.188    0.0.0.0         UG    0      0        0 ppp0


I've read the net.example and can't find answer.
Back to top
View user's profile Send private message
mrness
Retired Dev
Retired Dev


Joined: 17 Feb 2004
Posts: 375
Location: bucharest.ro

PostPosted: Tue Jan 09, 2007 5:01 pm    Post subject: Reply with quote

But I see you have a default route, default gateway being 213.25.2.188!

1) Check if you can ping the default gateway
2) Check your firewall
3) Check /etc/resolv.conf (it should contain the PPP negociated nameservers)
Back to top
View user's profile Send private message
qubaaa
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2006
Posts: 148

PostPosted: Thu Jan 11, 2007 4:37 pm    Post subject: Reply with quote

dns in resolv was wrong. My stupid mistake. Thanks!


But I still have a problem with this modem: why when I boot I see kernel panic: could not sync, unable to kill init? It is only when this sagem modem is plugged in? When I plug this modem into usb after boot, it works very good. Should I add this error to the bugzilla?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum