Jump to content

Recommended Posts

Posted

http://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg3482532.html

only solution i've had to get the usb551l to work on any variety of linux

/sbin/modprobe option; /sbin/echo "1410 b001" > /sys/bus/usb-serial/drivers/option1/new_id

minicom -D /dev/ttyUSB0

issue the command "At$nwqmiconnect=,,"

then the network interface works just like any wired interfact and you can issue

dhclient eth19

my problem is, how do i do this within wifipineapple?

Posted

[4732.990000] cdc_ether 1-1:1.6: wwan0: register 'cdc_ether' at usb-ehci-platform-1, Mobile Boadband Network Device, 00:a0:c6:00:00:00

still unable to udhcpc and get a reply, looking for

issuing a

echo "At\$nwqmiconnect=,," >> /dev/ttyUSB0

then cat or tail -f will show an OK response from the modem

the light flashes like it normally does when connecting, but i don't get any connection

[5276.470000] cdc_ether 1-1:1.6: wwan0: CDC: unexpected notifiaction 01!

Posted

You can issue commands in the Advanced tab but for more complex issues you should SSH into the pineapple...

Posted
*1410:b001*)    echo "Novatel MC760 (USB551l) detected."
        logger "rmmod usbserial"
        rmmod usbserial
        sleep 10
        logger "insmod usbserial vendor=0x1410 product=0xb001"
        insmod usbserial vendor=0x1410 product=0xb001
        sleep 10
        logger "nwqmiconnect - /dev/ttyUSB0"
        echo "At\$nwqmiconnect=,," >> /dev/ttyUSB0
        sleep 10
        logger "ifconfig wwan0 up"
        ifconfig wwan0 up
        sleep 10
        logger "udhcpc"
        udhcpc -i wwan0
        sleep 10
        logger "forward iptables"
        iptables -t nat -A POSTROUTING -s 172.16.42.0/24 -o wwan0 -j MASQUERADE
        iptables -A FORWARD -s 172.16.42.0/24 -o wwan0 -j ACCEPT
        iptables -A FORWARD -d 172.16.42.0/24 -m state --state ESTABLISHED,RELATED -i wwan0 -j ACCEPT
        ;;

yeilds a working network configuration when you press the "force" button from 3g tab, but the pineapple box keeps trying to re-issue ppp connection

16:47:18 Pineapple daemon.info pppd[5251]: Exit.
16:47:17 Pineapple local2.info chat[5255]: timeout set to 30 seconds
16:47:17 Pineapple local2.info chat[5255]: timeout set to 10 seconds
16:47:17 Pineapple local2.info chat[5255]: send (AT^M)
16:47:17 Pineapple local2.info chat[5255]: send (ATZ^M)
16:47:17 Pineapple local2.info chat[5255]: send (ATDT#777^M)
16:47:17 Pineapple local2.info chat[5255]: report (CONNECT)
16:47:17 Pineapple local2.info chat[5255]: expect (OK)
16:47:17 Pineapple local2.info chat[5255]: expect (OK)
16:47:17 Pineapple local2.info chat[5255]: expect (CONNECT)
16:47:17 Pineapple local2.info chat[5255]: abort on (NO DIAL TONE)
16:47:17 Pineapple local2.info chat[5255]: abort on (NO CARRIER)
16:47:17 Pineapple local2.info chat[5255]: abort on (NO ANSWER)
16:47:17 Pineapple local2.info chat[5255]: abort on (ERROR)
16:47:17 Pineapple local2.info chat[5255]: abort on (DELAYED)
16:47:17 Pineapple local2.info chat[5255]: abort on (BUSY)
16:47:17 Pineapple local2.info chat[5255]: ^M
16:47:17 Pineapple local2.info chat[5255]: ^M
16:47:17 Pineapple local2.info chat[5255]: OK
16:47:17 Pineapple local2.info chat[5255]: OK
16:47:17 Pineapple local2.info chat[5255]: Failed (ERROR)
16:47:17 Pineapple local2.info chat[5255]: ERROR
16:47:17 Pineapple local2.info chat[5255]: AT^M^M
16:47:17 Pineapple local2.info chat[5255]: ATZ^M^M
16:47:17 Pineapple local2.info chat[5255]: ATDT#777^M^M
16:47:17 Pineapple local2.info chat[5255]: -- got it
16:47:17 Pineapple local2.info chat[5255]: -- got it
16:47:17 Pineapple local2.info chat[5255]: -- failed
16:47:17 Pineapple daemon.err pppd[5251]: Connect script failed
16:47:16 Pineapple daemon.notice pppd[5251]: pppd 2.4.5 started by root, uid 0
16:47:16 Pineapple daemon.notice netifd: Interface 'wan2' is now down
16:47:16 Pineapple daemon.info pppd[5236]: Exit.
16:47:16 Pineapple daemon.info dnsmasq[1560]: using nameserver 8.8.8.8#53
16:47:16 Pineapple daemon.info dnsmasq[1560]: using local addresses only for domain lan
16:47:16 Pineapple daemon.info dnsmasq[1560]: reading /tmp/resolv.conf.auto
16:47:15 Pineapple local2.info chat[5240]: expect (CONNECT)
16:47:15 Pineapple local2.info chat[5240]: ^M
16:47:15 Pineapple local2.info chat[5240]: Failed (ERROR)
16:47:15 Pineapple local2.info chat[5240]: ERROR
16:47:15 Pineapple local2.info chat[5240]: ATDT#777^M^M
16:47:15 Pineapple local2.info chat[5240]: -- failed
16:47:15 Pineapple daemon.err pppd[5236]: Connect script failed
16:47:14 Pineapple local2.info chat[5240]: timeout set to 30 seconds
16:47:14 Pineapple local2.info chat[5240]: timeout set to 10 seconds

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...