GNOME Bugzilla – Bug 531351
nm not being marked as having an active connection when ppp0 is active
Last modified: 2020-11-12 14:33:53 UTC
Please describe the problem: when connecting using ppp and not wired/wireless, the applet is always marked as "no network connection". In this state, the vpn menus are never activated and cannot be used. connecting through the cable or wifi card enables the vpn menus normally. Steps to reproduce: 1. simply connect to ppp. i don't have another ppp device, but this is happening when i use the ppp with the iburst driver ( http://sourceforge.net/projects/ibdriver ) and don't know if this happens with other dial up devices. Actual results: the network manager doesn't detect that there is currently an active connection Expected results: the network manager is expected to detect a new active connection, and enable "active" menus like the vpn, change the icon (remove the red X) Does this happen every time? yes Other information: when connected to my dial up connection, i get the following: ifconfig: ib0 Link encap:Ethernet HWaddr 00:C0:EE:17:06:BE inet6 addr: fe80::2c0:eeff:fe17:6be/64 Scope:Link UP BROADCAST RUNNING NOARP DYNAMIC MTU:1500 Metric:1 RX packets:1009329 errors:0 dropped:0 overruns:0 frame:0 TX packets:1398621 errors:27 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:891726808 (850.4 MB) TX bytes:205501887 (195.9 MB) ppp0 Link encap:Point-to-Point Protocol inet addr:62.84.92.66 P-t-P:12.12.12.12 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1400 Metric:1 RX packets:1871 errors:0 dropped:0 overruns:0 frame:0 TX packets:1566 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:1668256 (1.5 MB) TX bytes:212138 (207.1 KB) route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface ashnha-12-12-12 * 255.255.255.255 UH 0 0 0 ppp0 default * 0.0.0.0 U 0 0 0 ppp0
This is/will be fixed in NM 0.7 with proper modem support. 0.6.5 doesn't have the ability to actually handle PPP connections; it just calls out to system scripts. Will close when 0.7 gets modem support. Any chance you could attach your PPP config (chat scripts, wvdial config, etc) so I can ensure that iburst can be supported in NM 0.7? Thanks!
i can't see in the main provider setting, which chatscript it is using. If you can help with this, i will paste the content in here. i configured my usb iburst modem using pppoeconf, it generated the following file: ------------------------------------------------------------------ # Minimalistic default options file for DSL/PPPoE connections noipdefault defaultroute replacedefaultroute hide-password #lcp-echo-interval 30 #lcp-echo-failure 4 noauth persist mtu 1412 #persist #maxfail 0 #holdoff 20 plugin rp-pppoe.so nic-ib0 user "username" usepeerdns ------------------------------------------------------------------ this the $HOME/.wvdial.conf [Dialer Defaults] Modem = /dev/modem ISDN = off Modem Type = USB Modem Baud = 115200 Init = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Init3 = Init4 = Init5 = Init6 = Init7 = Init8 = Init9 = Phone = Phone1 = Phone2 = Phone3 = Phone4 = Dial Prefix = Dial Attempts = 1 Dial Command = ATM1L3DT Ask Password = on Password = Username = Auto Reconnect = off Abort on Busy = off Carrier Check = on Check Def Route = on Abort on No Dialtone = on Stupid Mode = off Idle Seconds = 0 Auto DNS = on ;Minimize = off ;Dock = off ;Do NOT edit this file by hand! ---------------------------------------------
Ok, looks like it can be supported in 0.7 with the PPPoE/DSL code that's currently there. Any chance you can try it with 0.7?
Maybe the (In reply to comment #3) > Ok, looks like it can be supported in 0.7 with the PPPoE/DSL code that's > currently there. Any chance you can try it with 0.7? Maybe Walid's configuration can be supported in 0.7, but PPP over ATM is not supported yet IIRC. IMO this bug should depend on bug 348330.
Walid, can you answer Dans question? Maybe we should close this issue as it's tracked in bug 348330 already...
sorry, never had the time to play with that again. is there an easy way to get nm 0.7?
Depends on what distro you are on. You can also use "JHBuild" to build your own NetworkManager, I guess.
using 0.7.0.100 now there's less support now compared to before. i used to see the dsl-provider conf file created from pppoeconf, from the drop down in nmapplet, now the entry corresponding to the conf file doesn't appear at all. (the conf file used to show from a drop down which i could click to initiate a connection) if i connect using pon dsl-provider, nmapplet doesn't detect that i'm connected, and so evolution/firefox and other apps don't detect that i'm connected either.
NM 0.7 has native PPPoE support now, does that work with your device?
i don't think it works. i clicked on edit connections, went to the dsl tab (assuming this is the pppoe setting), configured a new connection, saw in the list of dsl connections, but can't see it in the drop down when i left click on the applet. Note, there are parameters on the dsl tab that i don't configure from pppoeconf (like service) and this is not a wired device.
Ok, so you are using your wifi card to connect to a wifi router, where you need PPPoE to get the outside world, but the wifi card can talk to the router just fine, right?
no not really. i'm not using a wifi card, i'm using an iburst modem, and i use this modem to connect, using pppoe. i always configure my iburst modem using pppoeconf, which creates my dsl-provider config file. this file used to create an entry in nmapplet, which i could use to connect graphically. since i upgraded to latest ubuntu, i got 0.7, and i lost this support. by this i mean that now the applet doesn't show the "connect to dsl-provider". to connect i'm using "pon dsl-provider" and the connection is working successfully, i just can't do it graphically.
Do you have the USB-only modem or the ethernet capable modem? When its hooked up, can you run "ifconfig -a" for me and paste the result in here?
eth0 Link encap:Ethernet HWaddr 00:1b:38:08:95:d1 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:19 ib0 Link encap:Ethernet HWaddr 00:c0:ee:17:06:be BROADCAST NOARP DYNAMIC MTU:1500 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:137 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:136 (136.0 B) TX bytes:1096 (1.0 KB) 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:843 errors:0 dropped:0 overruns:0 frame:0 TX packets:843 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:180061 (180.0 KB) TX bytes:180061 (180.0 KB) pan0 Link encap:Ethernet HWaddr 6e:39:b7:d8:de:0c BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) wlan0 Link encap:Ethernet HWaddr 00:13:e8:92:34:f9 inet addr:192.168.1.66 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::213:e8ff:fe92:34f9/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:9184 errors:0 dropped:0 overruns:0 frame:0 TX packets:8325 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:9344248 (9.3 MB) TX bytes:1448120 (1.4 MB) wmaster0 Link encap:UNSPEC HWaddr 00-13-E8-92-34-F9-34-66-00-00-00-00-00-00-00-00 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) interface is not going up byitself. sudo ifconfig ib0 up and i get this: ib0 Link encap:Ethernet HWaddr 00:c0:ee:17:06:be inet6 addr: fe80::2c0:eeff:fe17:6be/64 Scope:Link UP BROADCAST RUNNING NOARP DYNAMIC MTU:1500 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:3072 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:136 (136.0 B) TX bytes:24630 (24.6 KB) still, no entry for the ppp connection in nm-applet. calling pon now will just connect me to the internet normally. nm-applet will not detect the possibile ppp ocnfigurations (and offer to actually connect) and will never be marked as connected after i connect manually. note: these are on the 0.7.0.100 version
Does NM see your iburst device at all? I assume it shows up in sysfs as /sys/class/net/ib0, or is it something different? Can you paste in the output of "ls -al /sys/class/net/ib0" for me?
yes, it does show up under /sys/class/net/ib0 ls -al /sys/class/net/ib0 ------------------------- lrwxrwxrwx 1 root root 0 2009-12-26 13:57 /sys/class/net/ib0 -> ../../devices/virtual/net/ib0 ls -al /sys/class/net/ib0/ -------------------------- -r--r--r-- 1 root root 4096 2009-12-26 13:56 address -r--r--r-- 1 root root 4096 2009-12-26 13:57 addr_len -r--r--r-- 1 root root 4096 2009-12-26 14:01 broadcast -r--r--r-- 1 root root 4096 2009-12-26 14:01 carrier -r--r--r-- 1 root root 4096 2009-12-26 14:01 dev_id -r--r--r-- 1 root root 4096 2009-12-26 14:01 dormant -r--r--r-- 1 root root 4096 2009-12-26 14:01 features -rw-r--r-- 1 root root 4096 2009-12-26 13:57 flags -rw-r--r-- 1 root root 4096 2009-12-26 14:01 ifalias -r--r--r-- 1 root root 4096 2009-12-26 13:57 ifindex -r--r--r-- 1 root root 4096 2009-12-26 14:01 iflink -r--r--r-- 1 root root 4096 2009-12-26 14:01 link_mode -rw-r--r-- 1 root root 4096 2009-12-26 14:01 mtu -r--r--r-- 1 root root 4096 2009-12-26 14:01 operstate drwxr-xr-x 2 root root 0 2009-12-26 14:01 power drwxr-xr-x 2 root root 0 2009-12-26 14:01 statistics lrwxrwxrwx 1 root root 0 2009-12-26 13:57 subsystem -> ../../../../class/net -rw-r--r-- 1 root root 4096 2009-12-26 14:01 tx_queue_len -r--r--r-- 1 root root 4096 2009-12-26 13:57 type -rw-r--r-- 1 root root 4096 2009-12-26 13:57 uevent drwxr-xr-x 2 root root 0 2009-12-26 13:57 wireless
Reopening as the requested information has been provided.
NM bugzilla reorganization... sorry for the bug spam.
Hello, My "ls -al /sys/class/net/ib0" output: lrwxrwxrwx 1 root root 0 Aug 14 16:48 /sys/class/net/ib0 -> ../../devices/virtual/net/ib0 Which means it is a Virtual Ethernet interface that it uses (in OS X and Windows it is called iBurst Terminal). More info on the product: http://en.wikipedia.org/wiki/IBurst http://www.mobi.net.lb/personal-broadband/mobi-ib/modems-and-accessories
bugzilla.gnome.org is being shut down in favor of a GitLab instance. We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time. If you still use NetworkManager and if you still see this bug / want this feature in a recent and supported version of NetworkManager, then please feel free to report it at https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/ Thank you for creating this report and we are sorry it could not be implemented (workforce and time is unfortunately limited).