Bug 169459 - [ppp] umodem/ppp/3g stopped working after update from 9.0-RELEASE to 9-STABLE
Summary: [ppp] umodem/ppp/3g stopped working after update from 9.0-RELEASE to 9-STABLE
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-26 20:00 UTC by Slawomir Wojciech Wojtczak
Modified: 2018-05-24 08:51 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Slawomir Wojciech Wojtczak 2012-06-26 20:00:24 UTC
Hi,

at the 9.0-RELEASE I have had fully working ppp/3g connection via the Dell 5530 modem in my Dell Latitude E6400 laptop. After I upgraded to 9-STABLE r237458 it does not work any more.

Here are my configuration:

/etc/ppp/ppp.conf
--------------------------------------------------------------------------------
default:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION
 set device /dev/cuau1
 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set timeout 180
 enable dns

3g:
 set device /dev/cuaU0
 set speed 38400
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 0.0.0.0
 add default HISADDR
 term
 AT+CFUN=1
 AT+CGDCONT=1,"IP","www.plusgsm.pl"
 ATD*99#
--------------------------------------------------------------------------------

# dmesg | egrep "(umodem|cdce|5530)"
--------------------------------------------------------------------------------
cdce0: <Dell Wireless 5530 HSPA Mobile Broadband Minicard NetworkAdapter> on usbus7
cdce0: at uhub0, port 6, addr 2 (disconnected)
cdce0: at uhub1, port 6, addr 2 (disconnected)
cdce0: at uhub7, port 6, addr 3 (disconnected)
device_attach: umodem2 attach returned 6
ue0: <USB Ethernet> on cdce0
umodem0: <Dell Wireless 5530 HSPA Mobile Broadband Minicard Modem> on usbus7
umodem0: at uhub0, port 6, addr 2 (disconnected)
umodem0: at uhub1, port 6, addr 2 (disconnected)
umodem0: at uhub7, port 6, addr 3 (disconnected)
umodem0: data interface 2, has CM over data, has break
umodem1: <Dell Wireless 5530 HSPA Mobile Broadband Minicard Modem 2> on usbus7
umodem1: at uhub0, port 6, addr 2 (disconnected)
umodem1: at uhub1, port 6, addr 2 (disconnected)
umodem1: at uhub7, port 6, addr 3 (disconnected)
umodem1: data interface 4, has CM over data, has break
umodem2: <Dell Wireless 5530 HSPA Mobile Broadband Minicard GPS Port> on usbus7
umodem2: data interface 12, has CM over data, has break
umodem2: no data interface
--------------------------------------------------------------------------------

/var/log/ppp (after trying to connect)
--------------------------------------------------------------------------------
Jun 26 20:44:16 e6400 ppp[23178]: Phase: Using interface: tun0
Jun 26 20:44:16 e6400 ppp[23178]: Phase: deflink: Created in closed state
Jun 26 20:44:18 e6400 ppp[23178]: tun0: Command: default: ident user-ppp VERSION
Jun 26 20:44:18 e6400 ppp[23178]: tun0: Command: default: set device /dev/cuau1
Jun 26 20:44:18 e6400 ppp[23178]: tun0: Command: default: set speed 115200
Jun 26 20:44:18 e6400 ppp[23178]: tun0: Command: default: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5            "" AT OK-AT-OK ATE1Q0 OK \dATDT\T TIMEOUT 40 CONNECT
Jun 26 20:44:18 e6400 ppp[23178]: tun0: Command: default: set timeout 180
Jun 26 20:44:18 e6400 ppp[23178]: tun0: Command: default: enable dns
Jun 26 20:44:18 e6400 ppp[23178]: tun0: Command: 3g: set device /dev/cuaU0
Jun 26 20:44:18 e6400 ppp[23178]: tun0: Command: 3g: set speed 38400
Jun 26 20:44:18 e6400 ppp[23178]: tun0: Command: 3g: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 0.0.0.0
Jun 26 20:44:18 e6400 ppp[23178]: tun0: Command: 3g: add default HISADDR
Jun 26 20:44:18 e6400 ppp[23178]: tun0: Command: 3g: term
Jun 26 20:44:18 e6400 ppp[23178]: tun0: Warning: term: Need a prompt
Jun 26 20:44:18 e6400 ppp[23178]: tun0: Warning: term: Failed 1
Jun 26 20:44:18 e6400 ppp[23178]: tun0: Command: 3g: AT+CFUN=1
Jun 26 20:44:18 e6400 ppp[23178]: tun0: Warning: AT+CFUN=1: Invalid command
Jun 26 20:44:18 e6400 ppp[23178]: tun0: Warning: AT+CFUN=1: Failed 1
Jun 26 20:44:18 e6400 ppp[23178]: tun0: Command: 3g: AT+CGDCONT=1,IP,www.plusgsm.pl
Jun 26 20:44:18 e6400 ppp[23178]: tun0: Warning: AT+CGDCONT=1,IP,www.plusgsm.pl: Invalid command
Jun 26 20:44:18 e6400 ppp[23178]: tun0: Warning: AT+CGDCONT=1,IP,www.plusgsm.pl: Failed 1
Jun 26 20:44:18 e6400 ppp[23178]: tun0: Command: 3g: ATD*99
Jun 26 20:44:18 e6400 ppp[23178]: tun0: Warning: ATD*99: Invalid command
Jun 26 20:44:18 e6400 ppp[23178]: tun0: Warning: ATD*99: Failed 1
Jun 26 20:44:18 e6400 ppp[23249]: tun0: Phase: PPP Started (ddial mode).
Jun 26 20:44:18 e6400 ppp[23249]: tun0: Phase: bundle: Establish
Jun 26 20:44:18 e6400 ppp[23249]: tun0: Phase: deflink: closed -> opening
Jun 26 20:44:18 e6400 ppp[23249]: tun0: Phase: deflink: Connected!
Jun 26 20:44:18 e6400 ppp[23249]: tun0: Phase: deflink: opening -> dial
Jun 26 20:44:18 e6400 ppp[23249]: tun0: Chat: Send: AT^M
Jun 26 20:44:18 e6400 ppp[23249]: tun0: Chat: Expect(5): OK
Jun 26 20:44:18 e6400 ppp[23249]: tun0: Chat: Received: AT^M^M
Jun 26 20:44:18 e6400 ppp[23249]: tun0: Chat: Received: OK^M
Jun 26 20:44:18 e6400 ppp[23249]: tun0: Chat: Send: ATE1Q0^M
Jun 26 20:44:18 e6400 ppp[23249]: tun0: Chat: Expect(5): OK
Jun 26 20:44:18 e6400 ppp[23249]: tun0: Chat: Received: ATE1Q0^M^M
Jun 26 20:44:18 e6400 ppp[23249]: tun0: Chat: Received: OK^M
Jun 26 20:44:18 e6400 ppp[23249]: tun0: Chat: Send: ATDT^M
Jun 26 20:44:20 e6400 ppp[23249]: tun0: Chat: Expect(40): CONNECT
Jun 26 20:44:20 e6400 ppp[23249]: tun0: Chat: Received: ATDT^M^M
Jun 26 20:44:20 e6400 ppp[23249]: tun0: Chat: Received: NO CARRIER^M
Jun 26 20:44:20 e6400 ppp[23249]: tun0: Warning: Chat script failed
Jun 26 20:44:20 e6400 ppp[23249]: tun0: Phase: deflink: dial -> hangup
Jun 26 20:44:20 e6400 ppp[23249]: tun0: Phase: deflink: Disconnected!
Jun 26 20:44:20 e6400 ppp[23249]: tun0: Phase: deflink: Connect time: 2 secs: 0 octets in, 0 octets out
Jun 26 20:44:20 e6400 ppp[23249]: tun0: Phase: deflink: 0 packets in, 0 packets out
Jun 26 20:44:20 e6400 ppp[23249]: tun0: Phase:  total 0 bytes/sec, peak 0 bytes/sec on Tue Jun 26 20:44:18 2012
Jun 26 20:44:20 e6400 ppp[23249]: tun0: Phase: deflink: hangup -> opening
Jun 26 20:44:20 e6400 ppp[23249]: tun0: Phase: deflink: Enter pause (30) for redialing.
--------------------------------------------------------------------------------

I use that command to connect:
# ppp -ddial 3g

Regards,
vermaden
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2012-06-26 20:50:42 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-usb

reclassify.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2012-06-27 06:57:04 UTC
Responsible Changed
From-To: freebsd-usb->freebsd-net

Consensus seems to be that this is a ppp regression, not usb.
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:37 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 4 Slawomir Wojciech Wojtczak 2018-05-24 08:51:02 UTC
It works properly on 11.1-* and later.