g8wcn Posted March 28, 2013 Share Posted March 28, 2013 Help I am trying to get the E160G Modem ram to function so that I have 1 USB device that functions both as a modem and USB storage device. The E160G operates correctly if pluged into a windows box with the ram formated to fat32, I have reformatted the ram to Ext4 as per the instructions on this forum, but I can't see the ram? root@Pineapple:~# lsusbBus 001 Device 005: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E230/E270/E870 HSDPA/HSUPA ModemBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub I think I should be seeing 2 USB devices and I only see the Modem My current config is this *12d1:1003* | 1d6b:0002) echo "Huawei Modem (3-IRL) detected. Attempting mode switch" uci delete network.wan2 uci set network.wan2=interface uci set network.wan2.ifname=ppp0 uci set network.wan2.proto=3g uci set network.wan2.service=wcdma uci set network.wan2.device=/dev/ttyUSB0 uci set network.wan2.apn=3internet uci set network.wan2.username= uci set network.wan2.password= uci set network.wan2.defaultroute=1 uci commit network DefaultVendor=0x12d1 DefaultProduct=0x1003 TargetClass=0xff HuaweMode=1 #usb_modeswitch -v 12d1 -p 1003 -V 1d6b -P 0002 -M 5553424312345678000000000000061b000000020000000000000000000000 -n 1 -s 20 sleep 10; rmmod usbserial sleep 3; insmod usbserial vendor=0x12d1 product=0x1003 sleep 5; /etc/init.d/firewall disable; /etc/init.d/firewall stop logger "3G: firewall stopped" iptables -t nat -A POSTROUTING -s 172.16.42.0/24 -o 3g-wan2 -j MASQUERADE iptables -A FORWARD -s 172.16.42.0/24 -o 3g-wan2 -j ACCEPT iptables -A FORWARD -d 172.16.42.0/24 -m state --state ESTABLISHED,RELATED -i 3g-wan2 -j ACCEPT ;;esac I suspect I need to uncoment out the #usb part, but if I do this I get errors, any suggestions would be most welcome? Thx Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.