dutchdog Posted August 31, 2013 Posted August 31, 2013 Hi. Have an e392, working on pineapple. For some strange reason it lists as e398. But that doesn't bother me. I inserted an 8gb sdhc card and want to use that for storage and infusions. However the it doesn't show or is usable. How do I get it to work? Thanks Quote
dutchdog Posted August 31, 2013 Author Posted August 31, 2013 (edited) Attached USB devices: Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 12d1:1506 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard Config global automount option from_fstab 1 option anon_mount 1 config global autoswap option from_fstab 1 option anon_swap 0 config mount option target /usb option device /dev/sda1 option fstype ext4 option options rw,sync option enabled 1 option enabled_fsck 0 config swap option device /dev/sda2 option enabled 0 Edited August 31, 2013 by dutchdog Quote
Whistle Master Posted September 2, 2013 Posted September 2, 2013 You will find a lot of information to be able to mount your sd-card in this thread. Quote
deathdealerxx Posted September 2, 2013 Posted September 2, 2013 I was able to get my MF691 ZTE modem to work with my sd card, all I had to do was add sleep 15 to the fstab file. No other changes were made. Quote
deathdealerxx Posted September 2, 2013 Posted September 2, 2013 https://forums.hak5.org/index.php?/topic/26108-huawei-modems-with-a-pineapple-iv/page-2 towards the bottom it shows you where you need to put the file. Quote
dutchdog Posted September 2, 2013 Author Posted September 2, 2013 Thanks I will try and revert back. Quote
dutchdog Posted September 2, 2013 Author Posted September 2, 2013 I tried to add that line to fstab Sleep 15 Got error. No space on device? Quote
deathdealerxx Posted September 2, 2013 Posted September 2, 2013 (edited) Go into the fstab file and look for this and add the sleep 15 start() { . /lib/functions/mount.sh sleep 15 config_load fstab mkdir -p /var/lock lock /var/lock/fstab.lck[ -e /tmp/fstab ] || { echo '# WARNING: this is an auto generated file, please use uci to set defined filesystems' > /tmp/fstab} lock -u /var/lock/fstab.lck config_foreach do_swapon swap config_foreach do_mount mount config_foreach do_swapon swap # do swap a second time so that swap on filesystems is enabled} Edited September 2, 2013 by deathdealerxx Quote
dutchdog Posted September 2, 2013 Author Posted September 2, 2013 (edited) As I all did it in windows, this is the howto guide and what software I used: 1. I formatted the SD card to EXT4, using 'MiniTool Partition' (free download supports EXT4) http://download.cnet.com/MiniTool-Partition-Wizard-Home-Edition/3001-2094_4-10962200.html?spi=a171ba0823d4f77a27adda2debae2c98∂=dl-6285158 2. I edited the Fstab file on the pineapple to include the 'sleep 15' ( Location -> ETC/init.d/Fstab) I used WinSCP. The modem needs to be disconnected from the pineapple. (else you could get a 'no space error') http://download.cnet.com/WinSCP/3001-2160_4-10400769.html?spi=5160a98b332d0ba7c7c883ead353902b to easily edit it. It should look like this: start() { . /lib/functions/mount.sh sleep 15 config_load fstab mkdir -p /var/lock lock /var/lock/fstab.lck[ -e /tmp/fstab ] || { echo '# WARNING: this is an auto generated file, please use uci to set defined filesystems' > /tmp/fstab} lock -u /var/lock/fstab.lck config_foreach do_swapon swap config_foreach do_mount mount config_foreach do_swapon swap # do swap a second time so that swap on filesystems is enabled} 3. Succes! Current Disk Usage: Filesystem Size Used Available Use% Mounted onrootfs 768.0K 708.0K 60.0K 92% //dev/root 5.3M 5.3M 0 100% /romtmpfs 14.3M 108.0K 14.2M 1% /tmptmpfs 512.0K 0 512.0K 0% /dev/dev/mtdblock3 768.0K 708.0K 60.0K 92% /overlayoverlayfs:/overlay 768.0K 708.0K 60.0K 92% //dev/sda1 6.9G 16.0E 6.6G 100% /usb Hope this helps other people. Thanks deathdealerXX. Edited September 3, 2013 by dutchdog Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.