Jump to content

Problems Using Huawei E355 and Mark V


wit09

Recommended Posts

I recently got a Huawei E355 to use with my Pineapple V. I'm using mobile broadband from 3 UK here in the UK. The problem I am having is that my pineapple won't connect to the E355. The dongle powers up when plugged in the USB on the pineapple but it won't create a eth1 connection to it. Has anyone had this problem or have any suggestions how to fix it? Thanks

wit09

Link to comment
Share on other sites

use this script and place it under /etc/hotplug.d/usb/40-e355

#!/bin/bash

#

# Hotplug script for Huawei E355 3G Modem

#

# Vendor ID: 12d1/14db/102

#

logger Pineapple.modem: New device found $PRODUCT

[[ $PRODUCT == "12d1/14db/102" ]] && {

[[ $ACTION == "add" ]] && {

ifconfig eth1 192.168.1.100 netmask 255.255.255.0 up

route del default

route add default gw 192.168.1.1 eth1

iptables -t nat -A POSTROUTING -s 172.16.42.0/24 -o eth1 -j MASQUERADE

iptables -A FORWARD -s 172.16.42.0/24 -o eth1 -j ACCEPT

iptables -A FORWARD -d 172.16.42.0/24 -m state --state ESTABLISHED,RELATED -i eth1 -j ACCEPT

logger Pineapple.modem: Huawei E355 Added

} || {

iptables -t nat -D POSTROUTING -s 172.16.42.0/24 -o eth1 -j MASQUERADE

iptables -D FORWARD -s 172.16.42.0/24 -o eth1 -j ACCEPT

iptables -D FORWARD -d 172.16.42.0/24 -m state --state ESTABLISHED,RELATED -i eth1 -j ACCEPT

/etc/init.d/network restart

logger Pineapple.modem: Huawei E355 Removed

}

}

the script is adapted fron a hak5 tutorial video with the content of 3G modems

if you flash your firmware the script will be deleted, so place it also under /sd/etc/hotplug.d/usb/40-e355

so you can simply copy it after firmware update.

greetz VattafarI

Link to comment
Share on other sites

  • 4 weeks later...

I have the same problem and the script doesn't solve the problem for me.

When I do lsusb I can see the Huawei device connected but the eth1 interface is never created.

on /dev/ I have nothing related to ttyUSB*

I've tried so many things with the same result.

Any idea?

Thanks

Link to comment
Share on other sites

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