Jump to content

Recommended Posts

Posted

Hmm, i can ping www.google.com just fine from the pineapple but wireless clients have no internet... Routing problem here?

Kernel IP Routing Table

Destination Gateway Genmask Flags Metric Ref Use Iface

default 10.64.64.64 0.0.0.0 UG 0 0 0 3g-wan2

10.64.64.64 * 255.255.255.255 UH 0 0 0 3g-wan2

172.16.42.0 * 255.255.255.0 U 0 0 0 br-lan

Posted

Could it be possible that the pineapple is trying to route traffic through poe lan 172.16.42.42 port instead of 3g-wan2?? Internet works just fine on the pineapple but wireless clients have no internet :( Any pointers would be great!!

- SgtP

Posted (edited)

the main thing with newer huawei adapters is rather than modeswitching, inserting the relevant kernel module and forcing it to be a serial connection. you can check this with dmesg; but you should see some ttyUSB* appear if you have a 3g card inserted.

you can force the huawei card to go into the serial mode by using:

insmod usbserial vendor=0x<vid> product=0x<pid>

so if your lsusb returns:

Bus 001 Device 002: ID 12d1:140c Huawei Technologies Co., Ltd.

then you need to do :

rmmod usbserial
insmod usbserial vendor=0x12d1 product=0x140c

Edited by billius
Posted

Well.. Thanks guy this looks like it helped, but any ideas on wtf is going on with this, i have tried all of my carriers setting for 3g but no luck. at least my modem is found now but i have connection issues

Jan 1 00:10:43 Pineapple local2.info chat[3364]: abort on (BUSY)

Jan 1 00:10:43 Pineapple local2.info chat[3364]: abort on (NO CARRIER)

Jan 1 00:10:43 Pineapple local2.info chat[3364]: abort on (ERROR)

Jan 1 00:10:43 Pineapple local2.info chat[3364]: report (CONNECT)

Jan 1 00:10:43 Pineapple local2.info chat[3364]: timeout set to 10 seconds

Jan 1 00:10:43 Pineapple local2.info chat[3364]: send (AT&F^M)

Jan 1 00:10:43 Pineapple local2.info chat[3364]: expect (OK)

Jan 1 00:10:43 Pineapple user.notice root: 3G: firewall stopped

Jan 1 00:10:53 Pineapple local2.info chat[3364]: alarm

Jan 1 00:10:53 Pineapple local2.info chat[3364]: Failed

Jan 1 00:10:53 Pineapple daemon.err pppd[3359]: Connect script failed

Posted

Well.. Thanks guy this looks like it helped, but any ideas on wtf is going on with this, i have tried all of my carriers setting for 3g but no luck. at least my modem is found now but i have connection issues

Jan 1 00:10:43 Pineapple local2.info chat[3364]: abort on (BUSY)

Jan 1 00:10:43 Pineapple local2.info chat[3364]: abort on (NO CARRIER)

Jan 1 00:10:43 Pineapple local2.info chat[3364]: abort on (ERROR)

Jan 1 00:10:43 Pineapple local2.info chat[3364]: report (CONNECT)

Jan 1 00:10:43 Pineapple local2.info chat[3364]: timeout set to 10 seconds

Jan 1 00:10:43 Pineapple local2.info chat[3364]: send (AT&F^M)

Jan 1 00:10:43 Pineapple local2.info chat[3364]: expect (OK)

Jan 1 00:10:43 Pineapple user.notice root: 3G: firewall stopped

Jan 1 00:10:53 Pineapple local2.info chat[3364]: alarm

Jan 1 00:10:53 Pineapple local2.info chat[3364]: Failed

Jan 1 00:10:53 Pineapple daemon.err pppd[3359]: Connect script failed

We started a new topic dedicated to getting these huawei modems to work. Check there.

  • 11 months later...
Posted

Hi All

Reading this log with interested. I too have a Huawei E220 and can not get it to connect, tried many things suggested here on this message thread and from other places it appears to not be switching over correctly.

Any additional ideas would be very welcome!!!!! , Log below!!!

01:05:24 Pineapple user.notice usb-modeswitch: 1-1:1.2: Switching seemingly failed
01:05:23 Pineapple user.notice usb-modeswitch: 1-1:1.2: Switching seemingly failed
01:05:23 Pineapple user.notice usb-modeswitch: 1-1:1.2: Selecting /etc/usb_modeswitch.d/12d1:1003 for mode switching
01:05:23 Pineapple user.notice usb-modeswitch: 1-1:1.2: Manufacturer=HUAWEI_Technologies Product=HUAWEI_Mobile Serial=?
01:05:22 Pineapple user.notice usb-modeswitch: 1-1:1.1: Switching seemingly failed
01:05:21 Pineapple user.notice usb-modeswitch: 1-1:1.1: Switching seemingly failed
01:05:21 Pineapple user.notice root: 3G: firewall stopped
01:05:20 Pineapple user.notice usb-modeswitch: 1-1:1.1: Switching seemingly failed
01:05:19 Pineapple user.notice usb-modeswitch: 1-1:1.1: Switching seemingly failed
01:05:18 Pineapple user.notice usb-modeswitch: 1-1:1.1: Switching seemingly failed
01:05:17 Pineapple user.notice usb-modeswitch: 1-1:1.1: Switching seemingly failed
01:05:16 Pineapple user.notice usb-modeswitch: 1-1:1.1: Switching seemingly failed
01:05:16 Pineapple user.notice usb-modeswitch: 1-1:1.1: Selecting /etc/usb_modeswitch.d/12d1:1003 for mode switching
01:05:16 Pineapple kern.info kernel: [ 3916.780000] usb 1-1: generic converter now attached to ttyUSB1
01:05:16 Pineapple kern.info kernel: [ 3916.770000] usbserial_generic 1-1:1.1: generic converter detected
01:05:16 Pineapple kern.info kernel: [ 3916.770000] usbserial_generic 1-1:1.1: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
01:05:16 Pineapple kern.info kernel: [ 3916.750000] usbserial_generic 1-1:1.1: The "generic" usb-serial driver is only for testing and one-off prototypes.
01:05:16 Pineapple kern.info kernel: [ 3916.750000] usb 1-1: generic converter now attached to ttyUSB0
01:05:16 Pineapple kern.info kernel: [ 3916.740000] usbserial_generic 1-1:1.0: generic converter detected
01:05:16 Pineapple kern.info kernel: [ 3916.730000] usbserial_generic 1-1:1.0: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
01:05:16 Pineapple kern.info kernel: [ 3916.720000] usbserial_generic 1-1:1.0: The "gen

Posted

No need to panic, removed this line and all working, brilliant!!!!

#usb_modeswitch -v 12d1 -p 1003 -V 12d1 -P 1003 -M 5553424312345678000000000000061b000000020000000000000000000000 -n 1 -s 20

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...