LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-20-2013, 07:15 AM   #1
layr
Member
 
Registered: Jan 2011
Location: Estonia
Distribution: Debian testing
Posts: 38

Rep: Reputation: 0
[raspbian] ppp interface dropping regularly


Hi,
I'm running raspbian on, surprise-surprise, Raspberry Pi, which is set up as a 3G router and Wifi AP. Devices being used for this purpose are TP-LINK TL-WN721N as a wifi adapter and ZTE MF636 as a 3G modem.
Connection is set up and kept alive using sakis3g and umtskeeper scripts.
Everything seems to be working, but the ppp interface seems to be dropping rather irregularly. Sometimes replugging the 3G modem resets, sometimes it doesn't. Checking sakis3g info says connection is up and running, although clearly it isn't.

If I check ifconfig after the connection is lost, ppp0 is not listed anymore. Sometimes ifconfig -a displays it, sometimes not.
Some outputs of ifconfig after connection has come down:

Just before the connection drops:
Code:
$ ifconfig
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:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1104 (1.0 KiB)  TX bytes:1104 (1.0 KiB)

mon.wlan0 Link encap:UNSPEC  HWaddr 64-70-02-2A-90-64-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5293 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:856413 (836.3 KiB)  TX bytes:0 (0.0 B)

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:10.27.xxx.xxx  P-t-P:10.64.64.64  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:3587 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5550 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:1403780 (1.3 MiB)  TX bytes:533652 (521.1 KiB)

wlan0     Link encap:Ethernet  HWaddr 64:70:02:2a:90:64  
          inet addr:10.10.0.1  Bcast:10.10.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6653 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3697 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:711535 (694.8 KiB)  TX bytes:1552993 (1.4 MiB)
Just after:
Code:
$ ifconfig
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:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1104 (1.0 KiB)  TX bytes:1104 (1.0 KiB)

mon.wlan0 Link encap:UNSPEC  HWaddr 64-70-02-2A-90-64-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5317 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:860102 (839.9 KiB)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 64:70:02:2a:90:64  
          inet addr:10.10.0.1  Bcast:10.10.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6686 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3722 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:713870 (697.1 KiB)  TX bytes:1557887 (1.4 MiB)
------------------------------------------

$ ifconfig -a
eth0      Link encap:Ethernet  HWaddr b8:27:eb:79:da:d2  
          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)

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:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1104 (1.0 KiB)  TX bytes:1104 (1.0 KiB)

mon.wlan0 Link encap:UNSPEC  HWaddr 64-70-02-2A-90-64-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6195 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:1003236 (979.7 KiB)  TX bytes:0 (0.0 B)

ppp0      Link encap:Point-to-Point Protocol  
          POINTOPOINT NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:3587 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5550 errors:0 dropped:3 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:1403780 (1.3 MiB)  TX bytes:533652 (521.1 KiB)

wlan0     Link encap:Ethernet  HWaddr 64:70:02:2a:90:64  
          inet addr:10.10.0.1  Bcast:10.10.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7007 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3766 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:738845 (721.5 KiB)  TX bytes:1565135 (1.4 MiB
Some parts of /var/log/messages:
Code:
Sep 20 02:13:42 raspberrypi pppd[4275]: pppd 2.4.5 started by root, uid 0
Sep 20 02:13:43 raspberrypi chat[4300]: abort on (NO CARRIER)
Sep 20 02:13:43 raspberrypi chat[4300]: abort on (NO DIALTONE)
Sep 20 02:13:43 raspberrypi chat[4300]: abort on (BUSY)
Sep 20 02:13:43 raspberrypi chat[4300]: abort on (ERROR)
Sep 20 02:13:43 raspberrypi chat[4300]: abort on (NO ANSWER)
Sep 20 02:13:43 raspberrypi chat[4300]: send (ATZ^M)
Sep 20 02:13:43 raspberrypi chat[4300]: expect (OK)
Sep 20 02:13:43 raspberrypi chat[4300]: ATZ^M^M
Sep 20 02:13:43 raspberrypi chat[4300]: OK
Sep 20 02:13:43 raspberrypi chat[4300]:  -- got it
Sep 20 02:13:43 raspberrypi chat[4300]: send (ATD*99#^M)
Sep 20 02:13:43 raspberrypi pppd[4275]: Serial connection established.
Sep 20 02:13:43 raspberrypi pppd[4275]: Using interface ppp0
Sep 20 02:13:43 raspberrypi pppd[4275]: Connect: ppp0 <--> /dev/ttyUSB2
Sep 20 02:13:44 raspberrypi pppd[4275]: CHAP authentication succeeded
Sep 20 02:13:44 raspberrypi pppd[4275]: CHAP authentication succeeded
Sep 20 02:14:03 raspberrypi pppd[4275]: Hangup (SIGHUP)
Sep 20 02:14:03 raspberrypi pppd[4275]: Modem hangup
Sep 20 02:14:03 raspberrypi pppd[4275]: Connection terminated.
Sep 20 02:14:04 raspberrypi pppd[4275]: Exit.
Sep 20 02:14:06 raspberrypi pppd[4828]: pppd options in effect:
Sep 20 02:14:06 raspberrypi pppd[4828]: -detach#011#011# (from command line)
Sep 20 02:14:06 raspberrypi pppd[4828]: logfd -1#011#011# (from command line)
Sep 20 02:14:06 raspberrypi pppd[4828]: maxfail 3#011#011# (from command line)
Sep 20 02:14:06 raspberrypi pppd[4828]: ktune#011#011# (from command line)
Sep 20 02:14:06 raspberrypi pppd[4828]: dump#011#011# (from command line)
Sep 20 02:14:06 raspberrypi pppd[4828]: noauth#011#011# (from command line)
Sep 20 02:14:06 raspberrypi pppd[4828]: name raspberrypi#011#011# (from command line)
Sep 20 02:14:06 raspberrypi pppd[4828]: user 0#011#011# (from command line)
Sep 20 02:14:06 raspberrypi pppd[4828]: password ??????#011#011# (from command line)
Sep 20 02:14:06 raspberrypi pppd[4828]: usehostname#011#011# (from command line)
Sep 20 02:14:06 raspberrypi pppd[4828]: /dev/ttyUSB2#011#011# (from command line)
Sep 20 02:14:06 raspberrypi pppd[4828]: 460800#011#011# (from command line)
Sep 20 02:14:06 raspberrypi pppd[4828]: lock#011#011# (from command line)
Sep 20 02:14:06 raspberrypi pppd[4828]: connect /usr/sbin/chat -v -f /tmp/pppd.tmp.1729#011#011# (from command line)
Sep 20 02:14:06 raspberrypi pppd[4828]: crtscts#011#011# (from command line)
Sep 20 02:14:06 raspberrypi pppd[4828]: modem#011#011# (from command line)
Sep 20 02:14:06 raspberrypi pppd[4828]: asyncmap 0#011#011# (from /etc/ppp/options)
Sep 20 02:14:06 raspberrypi pppd[4828]: lcp-echo-failure 4#011#011# (from /etc/ppp/options)
Sep 20 02:14:06 raspberrypi pppd[4828]: lcp-echo-interval 30#011#011# (from /etc/ppp/options)
Sep 20 02:14:06 raspberrypi pppd[4828]: hide-password#011#011# (from /etc/ppp/options)
Sep 20 02:14:06 raspberrypi pppd[4828]: noipdefault#011#011# (from command line)
Sep 20 02:14:06 raspberrypi pppd[4828]: defaultroute#011#011# (from command line)
Sep 20 02:14:06 raspberrypi pppd[4828]: usepeerdns#011#011# (from command line)
Sep 20 02:14:06 raspberrypi pppd[4828]: noipx#011#011# (from /etc/ppp/options)
Sep 20 02:14:06 raspberrypi pppd[4828]: pppd 2.4.5 started by root, uid 0
Sep 20 02:14:07 raspberrypi chat[4852]: abort on (NO CARRIER)
Sep 20 02:14:07 raspberrypi chat[4852]: abort on (NO DIALTONE)
Sep 20 02:14:07 raspberrypi chat[4852]: abort on (BUSY)
Sep 20 02:14:07 raspberrypi chat[4852]: abort on (ERROR)
Sep 20 02:14:07 raspberrypi chat[4852]: abort on (NO ANSWER)
Sep 20 02:14:07 raspberrypi chat[4852]: send (ATZ^M)
Sep 20 02:14:07 raspberrypi chat[4852]: expect (OK)
Sep 20 02:14:07 raspberrypi chat[4852]: ^M
Sep 20 02:14:07 raspberrypi chat[4852]: +ZDONR: "Not Found"^M
Sep 20 02:14:07 raspberrypi chat[4852]: ^M
Sep 20 02:14:07 raspberrypi chat[4852]: +ZPASR: "Limited Service"^M
Sep 20 02:14:07 raspberrypi chat[4852]: ^M
Sep 20 02:14:07 raspberrypi chat[4852]: +ZDONR: "Not Found"^M
Sep 20 02:14:07 raspberrypi chat[4852]: ^M
Sep 20 02:14:07 raspberrypi chat[4852]: +ZPASR: "Limited Service"^M
Sep 20 02:14:07 raspberrypi chat[4852]: ^M
Sep 20 02:14:07 raspberrypi chat[4852]: +ZDONR: "Not Found"^M
Sep 20 02:14:07 raspberrypi chat[4852]: ^M
Sep 20 02:14:07 raspberrypi chat[4852]: +ZPASR: "Limited Service"^M
Sep 20 02:14:07 raspberrypi chat[4852]: ^M
Sep 20 02:14:07 raspberrypi chat[4852]: +ZDONR: "Not Found"^M
Sep 20 02:14:07 raspberrypi chat[4852]: ^M
Sep 20 02:14:07 raspberrypi chat[4852]: +ZPASR: "Limited Service"^M
Sep 20 02:14:07 raspberrypi chat[4852]: ATZ^M^M
Sep 20 02:14:07 raspberrypi chat[4852]: OK
Sep 20 02:14:07 raspberrypi chat[4852]:  -- got it
Sep 20 02:14:07 raspberrypi chat[4852]: send (ATD*99#^M)
Sep 20 02:14:07 raspberrypi pppd[4828]: Serial connection established.
Sep 20 02:14:07 raspberrypi pppd[4828]: Using interface ppp0
Sep 20 02:14:07 raspberrypi pppd[4828]: Connect: ppp0 <--> /dev/ttyUSB2
'----------------------
Sep 19 18:31:48 raspberrypi pppd[7238]: Modem hangup
Sep 19 18:31:48 raspberrypi pppd[7238]: Exit.
Sep 19 18:31:48 raspberrypi kernel: [ 2738.582777] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
Sep 19 18:31:48 raspberrypi kernel: [ 2738.582880] option 1-1.2.2:1.3: device disconnected
Sep 19 18:32:02 raspberrypi kernel: [ 2752.629160] usb 1-1.2.2: new high-speed USB device number 7 using dwc_otg
Sep 19 18:32:02 raspberrypi kernel: [ 2752.732403] usb 1-1.2.2: New USB device found, idVendor=19d2, idProduct=0031
Sep 19 18:32:02 raspberrypi kernel: [ 2752.732435] usb 1-1.2.2: New USB device strings: Mfr=3, Product=2, SerialNumber=4
Sep 19 18:32:02 raspberrypi kernel: [ 2752.732452] usb 1-1.2.2: Product: ZTE CDMA Technologies MSM
Sep 19 18:32:02 raspberrypi kernel: [ 2752.732467] usb 1-1.2.2: Manufacturer: ZTE,Incorporated
Sep 19 18:32:02 raspberrypi kernel: [ 2752.732482] usb 1-1.2.2: SerialNumber: 1234567890ABCDEF
Sep 19 18:32:02 raspberrypi kernel: [ 2752.737093] option 1-1.2.2:1.0: GSM modem (1-port) converter detected
Sep 19 18:32:02 raspberrypi kernel: [ 2752.737546] usb 1-1.2.2: GSM modem (1-port) converter now attached to ttyUSB0
Sep 19 18:32:02 raspberrypi kernel: [ 2752.738100] option 1-1.2.2:1.1: GSM modem (1-port) converter detected
Sep 19 18:32:02 raspberrypi kernel: [ 2752.738544] usb 1-1.2.2: GSM modem (1-port) converter now attached to ttyUSB1
Sep 19 18:32:02 raspberrypi kernel: [ 2752.742461] scsi1 : usb-storage 1-1.2.2:1.2
Sep 19 18:32:02 raspberrypi kernel: [ 2752.743465] option 1-1.2.2:1.3: GSM modem (1-port) converter detected
Sep 19 18:32:02 raspberrypi kernel: [ 2752.745014] usb 1-1.2.2: GSM modem (1-port) converter now attached to ttyUSB2
Sep 19 18:32:03 raspberrypi kernel: [ 2753.741710] scsi 1:0:0:0: Direct-Access     ZTE      MMC Storage      2.31 PQ: 0 ANSI: 2
Sep 19 18:32:03 raspberrypi kernel: [ 2753.750975] sd 1:0:0:0: [sda] Attached SCSI removable disk
Sep 19 18:32:44 raspberrypi pppd[20123]: pppd options in effect:
Sep 19 18:32:44 raspberrypi pppd[20123]: -detach#011#011# (from command line)
Sep 19 18:32:44 raspberrypi pppd[20123]: logfd -1#011#011# (from command line)
Sep 19 18:32:44 raspberrypi pppd[20123]: maxfail 3#011#011# (from command line)
Sep 19 18:32:44 raspberrypi pppd[20123]: ktune#011#011# (from command line)
Sep 19 18:32:44 raspberrypi pppd[20123]: dump#011#011# (from command line)
Sep 19 18:32:44 raspberrypi pppd[20123]: noauth#011#011# (from command line)
Sep 19 18:32:44 raspberrypi pppd[20123]: name raspberrypi#011#011# (from command line)
Sep 19 18:32:44 raspberrypi pppd[20123]: user 0#011#011# (from command line)
Sep 19 18:32:44 raspberrypi pppd[20123]: password ??????#011#011# (from command line)
Sep 19 18:32:44 raspberrypi pppd[20123]: usehostname#011#011# (from command line)
Sep 19 18:32:44 raspberrypi pppd[20123]: /dev/ttyUSB2#011#011# (from command line)
Sep 19 18:32:44 raspberrypi pppd[20123]: 460800#011#011# (from command line)
Sep 19 18:32:44 raspberrypi pppd[20123]: lock#011#011# (from command line)
Sep 19 18:32:44 raspberrypi pppd[20123]: connect /usr/sbin/chat -v -f /tmp/pppd.tmp.17503#011#011# (from command line)
Sep 19 18:32:44 raspberrypi pppd[20123]: crtscts#011#011# (from command line)
Sep 19 18:32:44 raspberrypi pppd[20123]: modem#011#011# (from command line)
Sep 19 18:32:44 raspberrypi pppd[20123]: asyncmap 0#011#011# (from /etc/ppp/options)
Sep 19 18:32:44 raspberrypi pppd[20123]: lcp-echo-failure 4#011#011# (from /etc/ppp/options)
Sep 19 18:32:44 raspberrypi pppd[20123]: lcp-echo-interval 30#011#011# (from /etc/ppp/options)
Sep 19 18:32:44 raspberrypi pppd[20123]: hide-password#011#011# (from /etc/ppp/options)
Sep 19 18:32:44 raspberrypi pppd[20123]: noipdefault#011#011# (from command line)
Sep 19 18:32:44 raspberrypi pppd[20123]: defaultroute#011#011# (from command line)
Sep 19 18:32:44 raspberrypi pppd[20123]: usepeerdns#011#011# (from command line)
Sep 19 18:32:44 raspberrypi pppd[20123]: noipx#011#011# (from /etc/ppp/options)
Sep 19 18:32:44 raspberrypi pppd[20123]: pppd 2.4.5 started by root, uid 0
Sep 19 18:32:45 raspberrypi chat[20148]: abort on (NO CARRIER)
Sep 19 18:32:45 raspberrypi chat[20148]: abort on (NO DIALTONE)
Sep 19 18:32:45 raspberrypi chat[20148]: abort on (BUSY)
Sep 19 18:32:45 raspberrypi chat[20148]: abort on (ERROR)
Sep 19 18:32:45 raspberrypi chat[20148]: abort on (NO ANSWER)
Sep 19 18:32:45 raspberrypi chat[20148]: send (ATZ^M)
Sep 19 18:32:45 raspberrypi chat[20148]: expect (OK)
Sep 19 18:32:45 raspberrypi chat[20148]: ATZ^M^M
Sep 19 18:32:45 raspberrypi chat[20148]: OK
Sep 19 18:32:45 raspberrypi chat[20148]:  -- got it
Sep 19 18:32:45 raspberrypi chat[20148]: send (ATD*99#^M)
Sep 19 18:32:45 raspberrypi pppd[20123]: Serial connection established.
Sep 19 18:32:45 raspberrypi pppd[20123]: Using interface ppp0
Sep 19 18:32:45 raspberrypi pppd[20123]: Connect: ppp0 <--> /dev/ttyUSB2
Sep 19 18:32:46 raspberrypi pppd[20123]: CHAP authentication succeeded
Sep 19 18:32:46 raspberrypi pppd[20123]: CHAP authentication succeeded
Sep 19 18:32:51 raspberrypi pppd[20123]: Could not determine remote IP address: defaulting to 10.64.64.64
Sep 19 18:32:51 raspberrypi pppd[20123]: local  IP address 10.26.117.213
Sep 19 18:32:51 raspberrypi pppd[20123]: remote IP address 10.64.64.64
Sep 19 18:32:51 raspberrypi pppd[20123]: primary   DNS address 194.204.0.18
Sep 19 18:32:51 raspberrypi pppd[20123]: secondary DNS address 194.204.0.208
It can be seen from the log, that modem doesn't find valid signal:
Code:
Sep 20 02:14:07 raspberrypi chat[4852]: +ZDONR: "Not Found"^M
Sep 20 02:14:07 raspberrypi chat[4852]: ^M
Sep 20 02:14:07 raspberrypi chat[4852]: +ZPASR: "Limited Service"^M
But still, shouldn't it connect later nevertheless?
 
Old 09-21-2013, 04:28 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,077

Rep: Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482
Standard issue is that the wifi pulls ~100mA from the usb port and the port has a current limit of ~100mA. Some Pi models have a fix for this, others not. The usb port just switches off. I found a wifi adapter using under 100mA on ebay, and advertised as such fior around US$10.

2nd standard issue is that the power supply doesn't deliver the voltage at max current, so things go funny. Better to have major overkill on the wall wart current output.
 
Old 09-21-2013, 05:11 AM   #3
layr
Member
 
Registered: Jan 2011
Location: Estonia
Distribution: Debian testing
Posts: 38

Original Poster
Rep: Reputation: 0
That's not it in my case - all peripherials are running on powered usb, which is reported as suitable for rasp pi.
Now the wifi connection started dropping as well. Will have to find a wired network in order to investigate.
 
Old 09-21-2013, 03:41 PM   #4
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,166
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Interesting.
The pppd_async should be perhaps builded as module? (not in the kernel).
Personally I would ask debian what is going on here (kernel related or not)
 
Old 09-22-2013, 04:10 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,077

Rep: Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482
Either your software is bad, or something you are taking as working is not working.

What's the current in your raspian power supply?
 
Old 09-22-2013, 05:38 AM   #6
layr
Member
 
Registered: Jan 2011
Location: Estonia
Distribution: Debian testing
Posts: 38

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by business_kid View Post
What's the current in your raspian power supply?
I'm guessing 500mA, as it is also powered by the same powered usb hub.
Quote:
Originally Posted by business_kid View Post
Either your software is bad, or something you are taking as working is not working.
Might be so. By 'working' I mean all interfaces up and running and doint what they're supposed to.

Some additional info:
ping answered this error at the time of interface drop:
Code:
64 bytes from arn06s01-in-f5.1e100.net (173.194.32.5): icmp_req=242 ttl=55 time=68.8 ms
64 bytes from arn06s01-in-f5.1e100.net (173.194.32.5): icmp_req=243 ttl=55 time=162 ms
64 bytes from 173.194.32.5: icmp_req=244 ttl=55 time=804 ms
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
Also, isn't it weird that 'lshw -class network' doesn't return the ppp interface?
Code:
pi@raspberrypi ~ $ sudo lshw -class network
  *-network:0             
       description: Wireless interface
       physical id: 1
       bus info: usb@1:1.2.2
       logical name: wlan0
       serial: 64:70:02:2a:90:64
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=ath9k_htc driverversion=3.6.11+ firmware=1.3 ip=10.10.0.1 link=yes multicast=yes wireless=IEEE 802.11bgn
  *-network:1 DISABLED
       description: Ethernet interface
       physical id: 2
       logical name: eth0
       serial: b8:27:eb:79:da:d2
       size: 10Mbit/s
       capacity: 100Mbit/s
       capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=smsc95xx driverversion=22-Aug-2005 duplex=half firmware=smsc95xx USB 2.0 Ethernet link=no multicast=yes port=MII speed=10Mbit/s
Simply running 'lshw' doesn't return it either.

sakis3g (script that conntects to network) info says "Kernel driver: option"
A driver issue perhaps?

Last edited by layr; 09-22-2013 at 06:33 AM.
 
Old 09-22-2013, 12:05 PM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,077

Rep: Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482
Try this:
When you are sure the wifi _has_dropped out, run

iwlist wlan0 scan

What's the error?
 
Old 09-22-2013, 03:06 PM   #8
layr
Member
 
Registered: Jan 2011
Location: Estonia
Distribution: Debian testing
Posts: 38

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by business_kid View Post
Try this:
When you are sure the wifi _has_dropped out, run

iwlist wlan0 scan
I'm guessing you meant ppp0 interface:
Code:
pi@raspberrypi ~ $ sudo iwlist wlan0 scan
wlan0     Interface doesn't support scanning : Operation not supported

pi@raspberrypi ~ $ sudo iwlist ppp0 scan
ppp0      Interface doesn't support scanning.
 
Old 09-23-2013, 04:05 AM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,077

Rep: Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482Reputation: 2482
ppp0? Oh well.

Anyhow, it's lost the device, which confirms that the hardware is gone. Most likely the port is switching off on overcurrent, or undervoltage. I note you have already explained that these are things that 'can't be happening.' Go figure. It's beside you.
 
  


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
[SOLVED] script if ppp interface is up KatrinAlec Linux - Networking 7 08-24-2012 08:52 AM
ppp interface... culin Linux - Networking 4 04-13-2007 04:49 PM
Timeout expired while waiting for the PPP interface kebbelj Linux - Networking 0 02-13-2005 04:24 PM
waiting for the PPP interface ertz Linux - Networking 2 05-17-2004 05:25 PM
kernel 2.2.20 with RTL8139too network card dropping interface ccn Linux - Networking 0 10-06-2003 11:57 PM

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

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

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