Jump to content

headros

Active Members
  • Posts

    29
  • Joined

  • Last visited

Everything posted by headros

  1. Looks like the driver and hardware is fine. Now you need to authenticate to the mobile network. For T-Mobile, the dial-in number is *99#, with no name or password.
  2. Assure the wifes laptop can ping the pineapples internet gateway 172.16.42.1. Check adapter's TCP config details for proper internet gateway.
  3. suddenly my virgin modem wont connect with 2.8 firmware. Connected fine in Windows. Poops out right after I get an IP. Here is the log. Any ideas anyone? Tried bypassing the usb hub. 13:08:36 Pineapple daemon.err pppd[2740]: Connect script failed 13:08:26 Pineapple local2.info chat[3055]: timeout set to 10 seconds 13:08:26 Pineapple local2.info chat[3055]: send (AT^M) 13:08:26 Pineapple local2.info chat[3055]: report (CONNECT) 13:08:26 Pineapple local2.info chat[3055]: expect (OK) 13:08:26 Pineapple local2.info chat[3055]: abort on (NO DIAL TONE) 13:08:26 Pineapple local2.info chat[3055]: abort on (NO CARRIER) 13:08:26 Pineapple local2.info chat[3055]: abort on (NO ANSWER) 13:08:26 Pineapple local2.info chat[3055]: abort on (ERROR) 13:08:26 Pineapple local2.info chat[3055]: abort on (DELAYED) 13:08:26 Pineapple local2.info chat[3055]: abort on (BUSY) 13:08:26 Pineapple kern.err kernel: [ 402.530000] usb 1-1.1: clear tt 2 (1082) error -71 13:08:26 Pineapple kern.err kernel: [ 402.520000] usb 1-1.1: clear tt 2 (1082) error -71 13:08:26 Pineapple kern.err kernel: [ 402.510000] usb 1-1.1: clear tt 2 (1082) error -71 13:08:25 Pineapple kern.err kernel: [ 401.500000] usb 1-1.1: clear tt 2 (9082) error -71 13:08:25 Pineapple kern.err kernel: [ 401.480000] usb 1-1.1: clear tt 2 (9082) error -71 13:07:55 Pineapple daemon.notice pppd[2740]: Modem hangup 13:07:54 Pineapple daemon.notice pppd[2740]: Connection terminated. 13:07:51 Pineapple kern.err kernel: [ 367.450000] usb 1-1.1: clear tt 2 (1082) error -71 13:07:51 Pineapple daemon.info dnsmasq[1190]: using nameserver 8.8.8.8#53 13:07:51 Pineapple daemon.info dnsmasq[1190]: using local addresses only for domain lan 13:07:51 Pineapple daemon.info dnsmasq[1190]: reading /tmp/resolv.conf.auto 13:07:48 Pineapple kern.err kernel: [ 364.610000] usb 1-1.1: clear tt 2 (1082) error -71 13:07:48 Pineapple daemon.notice pppd[2740]: Serial link appears to be disconnected. 13:07:48 Pineapple daemon.notice netifd: Interface 'wan2' has lost the connection 13:07:48 Pineapple daemon.info pppd[2740]: Sent 2348 bytes, received 2224 bytes. 13:07:48 Pineapple daemon.info pppd[2740]: No response to 1 echo-requests 13:07:48 Pineapple daemon.info pppd[2740]: Connect time 0.5 minutes. 13:07:46 Pineapple kern.err kernel: [ 362.730000] usb 1-1.1: clear tt 2 (1082) error -71 13:07:46 Pineapple kern.err kernel: [ 362.720000] usb 1-1.1: clear tt 2 (1082) error -71 13:07:46 Pineapple kern.err kernel: [ 362.440000] usb 1-1.1: clear tt 2 (1082) error -71 13:07:46 Pineapple kern.err kernel: [ 362.430000] usb 1-1.1: clear tt 2 (1082) error -71 13:07:45 Pineapple cron.err crond[1119]: time disparity of 22996142 minutes detected 13:07:43 Pineapple kern.err kernel: [ 359.440000] usb 1-1.1: clear tt 2 (1082) error -71 13:07:41 Pineapple kern.err kernel: [ 357.730000] usb 1-1.1: clear tt 2 (1082) error -71 13:07:41 Pineapple kern.err kernel: [ 357.710000] usb 1-1.1: clear tt 2 (1082) error -71 13:07:40 Pineapple kern.err kernel: [ 356.720000] usb 1-1.1: clear tt 2 (1082) error -71 13:07:40 Pineapple kern.err kernel: [ 356.710000] usb 1-1.1: clear tt 2 (1082) error -71 13:07:40 Pineapple kern.err kernel: [ 356.570000] usb 1-1.1: clear tt 2 (9082) error -71 13:07:40 Pineapple kern.err kernel: [ 356.550000] usb 1-1.1: clear tt 2 (9082) error -71 13:07:25 Pineapple daemon.info dnsmasq[1190]: using nameserver 8.8.8.8#53 13:07:25 Pineapple daemon.info dnsmasq[1190]: using nameserver 8.8.8.8#53 13:07:25 Pineapple daemon.info dnsmasq[1190]: using local addresses only for domain lan 13:07:25 Pineapple daemon.info dnsmasq[1190]: reading /tmp/resolv.conf.auto 13:07:23 Pineapple daemon.notice pppd[2740]: secondary DNS address xx.29.17.7 13:07:23 Pineapple daemon.notice pppd[2740]: remote IP address xx.1.20.193 13:07:23 Pineapple daemon.notice pppd[2740]: primary DNS address xx.1.21.7 13:07:23 Pineapple daemon.notice pppd[2740]: local IP address xx.34.108.37 13:07:23 Pineapple daemon.notice netifd: Interface 'wan2' is now up 13:07:22 Pineapple local2.info chat[2801]: send (^M) 13:07:22 Pineapple local2.info chat[2801]: CONNECT 13:07:22 Pineapple local2.info chat[2801]: ATDT#777^M^M 13:07:22 Pineapple local2.info chat[2801]: -- got it 13:07:22 Pineapple daemon.notice pppd[2740]: Connect: 3g-wan2 <--> /dev/ttyUSB0 13:07:22 Pineapple daemon.info pppd[2740]: Using interface 3g-wan2 13:07:22 Pineapple daemon.info pppd[2740]: Serial connection established. 13:07:20 Pineapple local2.info chat[2801]: timeout set to 30 seconds 13:07:20 Pineapple local2.info chat[2801]: send (ATDT#777^M) 13:07:20 Pineapple local2.info chat[2801]: expect (OK) 13:07:20 Pineapple local2.info chat[2801]: expect (CONNECT) 13:07:20 Pineapple local2.info chat[2801]: ^M 13:07:20 Pineapple local2.info chat[2801]: ^M 13:07:20 Pineapple local2.info chat[2801]: OK 13:07:20 Pineapple local2.info chat[2801]: ATZ^M^M 13:07:20 Pineapple local2.info chat[2801]: -- got it 13:07:19 Pineapple local2.info chat[2801]: timeout set to 10 seconds 13:07:19 Pineapple local2.info chat[2801]: send (AT^M) 13:07:19 Pineapple local2.info chat[2801]: send (ATZ^M) 13:07:19 Pineapple local2.info chat[2801]: report (CONNECT) 13:07:19 Pineapple local2.info chat[2801]: expect (OK) 13:07:19 Pineapple local2.info chat[2801]: abort on (NO DIAL TONE) 13:07:19 Pineapple local2.info chat[2801]: abort on (NO CARRIER) 13:07:19 Pineapple local2.info chat[2801]: abort on (NO ANSWER) 13:07:19 Pineapple local2.info chat[2801]: abort on (ERROR) 13:07:19 Pineapple local2.info chat[2801]: abort on (DELAYED) 13:07:19 Pineapple local2.info chat[2801]: abort on (BUSY) 13:07:19 Pineapple local2.info chat[2801]: OK 13:07:19 Pineapple local2.info chat[2801]: AT^M^M 13:07:19 Pineapple local2.info chat[2801]: -- got it
  4. Update- I was able to get bluez-utils & dbus installed, but I am running into kernel issues installing kmod-bluetooth on Mark iV (2.7) root@Pineapple:/# opkg -d usb install kmod-bluetooth Installing kmod-bluetooth (3.8.9-1) to usb... Downloading http://cloud.wifipineapple.com/packages/kmod-bluetooth_3.8.9-1_ar71xx.ipk. Multiple packages (kmod-usb-core and kmod-usb-core) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kmod-lib-crc16 and kmod-lib-crc16) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kmod-input-core and kmod-input-core) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kmod-input-core and kmod-input-core) providing same name marked HOLD or PREFER. Using latest. Collected errors: * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-bluetooth: * kernel (= 3.8.9-1-769be9c0f3dd4a7cdc9bcb693011cf6c) * kernel (= 3.8.9-1-769be9c0f3dd4a7cdc9bcb693011cf6c) * kernel (= 3.8.9-1-769be9c0f3dd4a7cdc9bcb693011cf6c) * kernel (= 3.8.9-1-769be9c0f3dd4a7cdc9bcb693011cf6c) * * opkg_install_cmd: Cannot install package kmod-bluetooth. My kernel version is: root@Pineapple:/# opkg info kernel Package: kernel Version: 3.3.8-1-8ab9a6db2e1833b8d7baa15c9b126684 Depends: libc Provides: Status: install hold installed Architecture: ar71xx Installed-Time: 1350224199 Any suggestions? Would updating to Firmware 2.8 help?
  5. Does the Cruzer stick or other USB devices, minus the modem, function when plugged into the hub? If not, then I would use TwistedPacket's suggestion and try another hub. Are you sure your getting 2.1A to the hub? Where is that power source from? I am using a Belkin F4U019 Passive Mobile Travel hub that you can get at OfficeMax for 15$, took the power lead from hub input and moved it to a powered 2.1A external power source. 1.2A to the Pineapple is adequate. I have a Cruzer, Alfa wifi, and VirginMobile U600 modem all connected to it and running with no issues at all. I never had to plug everything in after the pineapple boots.
  6. Looks like you might have a kernel issue with networkmanager. Did you try uninstalling Network Manager and do a reinstall? Before reinstalling check for lastest from repo opkg update networkmanager -d usb (assuming you have it installed on a usb drive) .
  7. it adds all the tools needed into one GUI. I am struggling trying to get aircrack-ng options to display in the GUI as well. I saw it appear once but after a reboot its missing again. Ill update if I figure anything out.
  8. Oh ok. For some odd reason, I got xxxxxx.so not found errors unless I manually execute those commands before installation. Maybe needed a reboot? It sure is nice to free root space and add move the bulky stuff to usb. thanks for the tips man.
  9. of course after fiddling with it i got BlueZ to install on usb. I added a -d usb switch to opkg command also had to do one of these numbers to map root@Pineapple:/# export USB=/usb root@Pineapple:/# export PATH=$PATH:$USB/usr/bin:$USB/usr/sbin root@Pineapple:/# export LD_LIBRARY_PATH=$USB/lib:$USB/usr/lib
  10. do you have multiple instances of wpa_supplicant in the Process list?
  11. You can use the UWUI module in the pineapple bar http://www.youtube.com/watch?v=soEK02iVqy8
  12. I have myself an AIRcable Host XR3 Bluetooth plugged into the Mark IV Pineapple, drivers are loading fine. Now I am trying to get bluetooth protocol support by installing BlueZ like this opkg install kmod-bluetooth bluez-utils But I do not have enuf room to install it :-( root@Pineapple:/# opkg install kmod-bluetooth bluez-utils Unknown package 'kmod-bluetooth'. Installing bluez-utils (3.36-12) to root... Downloading http://cloud.wifipineapple.com/packages/bluez-utils_3.36-12_ar71xx.ipk. Installing bluez-libs (3.36-3) to root... Downloading http://cloud.wifipineapple.com/packages/bluez-libs_3.36-3_ar71xx.ipk. Installing dbus (1.4.14-2) to root... Downloading http://cloud.wifipineapple.com/packages/dbus_1.4.14-2_ar71xx.ipk. Installing libexpat (2.0.1-1) to root... Downloading http://cloud.wifipineapple.com/packages/libexpat_2.0.1-1_ar71xx.ipk. Installing libdbus (1.4.14-2) to root... Downloading http://cloud.wifipineapple.com/packages/libdbus_1.4.14-2_ar71xx.ipk. Configuring libdbus. Configuring bluez-libs. Configuring libexpat. Configuring dbus. Collected errors: * opkg_install_cmd: Cannot install package kmod-bluetooth. * wfopen: /usr/bin/ciptool: No space left on device. * wfopen: /usr/bin/l2ping: No space left on device. * wfopen: /usr/bin/dund: No space left on device. * wfopen: /usr/bin/pand: No space left on device. * wfopen: /usr/bin/rfcomm: No space left on device. * wfopen: /usr/sbin/hciconfig: No space left on device. * wfopen: /usr/sbin/hciattach: No space left on device. * wfopen: /usr/sbin/hcid: No space left on device. * extract_archive: Cannot make dir /etc/bluetooth/: No space left on device. * wfopen: /etc/bluetooth/hcid.conf: No such file or directory. * wfopen: /etc/bluetooth/rfcomm.conf: No such file or directory. * wfopen: /etc/dbus-1/system.d/bluetooth.conf: No space left on device. * wfopen: /etc/config/bluetooth: No space left on device. * wfopen: /etc/init.d/bluez-utils: No space left on device. * pkg_write_filelist: Failed to open //usr/lib/opkg/info/bluez-utils.list: No space left on device. * opkg_install_pkg: Failed to extract data files for bluez-utils. Package debris may remain! * opkg_install_cmd: Cannot install package bluez-utils. * opkg_conf_write_status_files: Can't open status file //usr/lib/opkg/status: No space left on device. * opkg_conf_write_status_files: Can't open status file /home//usr/lib/opkg/status: No space left on device. root@Pineapple:/# df Filesystem 1K-blocks Used Available Use% Mounted on rootfs 960 904 56 94% / /dev/root 5376 5376 0 100% /rom tmpfs 14740 1992 12748 14% /tmp tmpfs 512 0 512 0% /dev /dev/mtdblock3 960 904 56 94% /overlay overlayfs:/overlay 960 904 56 94% / /dev/sda1 3465277 70406 3210091 2% /usb My question is there anyway to clean up space on the pineapple, or some way of installing BlueZ to USB drive? I am also curious if the libraries (like dbus and libexpat) that did get installed (see screenshot) will crash the box once I reboot.
  13. OK, if you can connect and pull data, the driver must be reading your device. I noticed in the log my modem will disconnect occasionally, but it reconnects right away. How strong the your signal in your location? regarding your question abt the config file, what I did was: SSH into /etc/usb_modeswitch.d directory. You will see some 1fac:xxxx files. Copy one of those files, edit it by clearing all contents and paste this in # Franklin Wireless U600 DefaultVendor= 0x1fac DefaultProduct=0x0150 TargetVendor= 0x1fac TargetProduct= 0x0151 MessageContent="555342431234567824000000800108df200000000000000000000000000000" Save as 1fac:0150 and upload to /etc/usb_modeswitch.d, then reboot. Paste your log after a few disconnects here if your still having issues.
  14. ibrokeit, to get 4G Wimax to work, it requires installing a separate driver for the 4G chipset. I believe 4G on u600 has the Beceem BCSM250 chipset. There is a similar post installing on beecem wimax on ubuntu/mint I'm going to try out.
  15. Can you please stop pestering users to use spoiler tags. Its very annoying.
  16. Pimminit, seems like the switching failed when checking #2 configuration. Did you add a 1fac:0150 config file in /etc/usb_modeswitch.d1 directory, then reboot? If so, does line #2 in 1fac:0150 read: DefaultProduct=0x0150 ibrokeit - I didnt attempt 4G yet. Researching whether or Not the driver auto-switches 3G/4G .
  17. looks like you're almost there. did you try this for AT&T? uci set network.wan2.apn=wap.cingular uci set network.wan2.username=WAP@CINGULARGPRS.COM uci set network.wan2.password=CINGULAR1 source Some info about APNs on AT&T support page
  18. Rick Rolling on linux bitches

  19. Making progress

  20. Can you please paste the log output here (Click LOGS in the menu), its lodes easier to help diagnose driver issues. Set the 3G script to autostart and reboot first before pasting log.
  21. This module is awesome guys, cheers to you
  22. I connected a client to the wifi of the pineapple and hit some webpages. I noticed Interfaces-> 3g-wan2 rx and tx bytes increasing as I load webpages on the wifi client. I then went to see what IP the client had and it was the one issued by Virgin Mobile USA. Everything is working perfect. I didnt even have to do anything with ICS or change the internet gateway. Firewall was already setup. Next task, get the 4G WiMax lit up.
  23. Another Update, In the .3g script i posted above i notice my device was 151, not 150, So I used this *1fac:0150* | *1fac:0151*) echo "Franklin Wireless U600 (Virgin Mobile) 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=cdma uci set network.wan2.device=/dev/ttyUSB0 uci set network.wan2.username=internet uci set network.wan2.password=internet uci set network.wan2.defaultroute=1 uci set network.wan2.ppp_redial=persist uci set network.wan2.peerdns=0 uci set network.wan2.dns=8.8.8.8 uci set network.wan2.keepalive=1 uci set network.wan2.pppd_options=debug uci set network.wan2.pppd_options=noauth uci commit network ##usb_modeswitch -v 1410 -p 5031 -V 1410 -P 6002 -M 5553424312345678000000000000061b000000020000000000000000000000 -n 1 -s 20 usb_modeswitch -v 1fac -p 5031 -V 1fac -P 0151 -M 555342431234567824000000800108df200000000000000000000000000000 -n 1 -s 20 sleep 10; rmmod usbserial sleep 3; insmod usbserial vendor=0x1fac product=0x0151 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 Then I rebooted. I noticed the 3G lites where now solid and blinking as if there as activity. Then I went to the log and now I am issuing commands, Now its time to see if I can pull some data (FINALLY!!!).
  24. I made a little progress. While browsing this directory /etc/usb_modeswitch.d I noticed a bunch of files with product IDs, I saw one for franklin fac:xxx and copied it and named it to 1fac:0150 Inside 1fac:0150 i added this # Franklin Wireless U600 DefaultVendor= 0x1fac DefaultProduct=0x0150 TargetVendor= 0x1fac TargetProduct= 0x0151 MessageContent="555342431234567824000000800108df200000000000000000000000000000" .3g script is *1fac:0150* | *1fac:0151*) echo "Franklin Wireless U600 (Virgin Mobile) 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=cdma uci set network.wan2.device=/dev/ttyUSB0 uci set network.wan2.username=internet uci set network.wan2.password=internet uci set network.wan2.defaultroute=1 uci set network.wan2.ppp_redial=persist uci set network.wan2.peerdns=0 uci set network.wan2.dns=8.8.8.8 uci set network.wan2.keepalive=1 uci set network.wan2.pppd_options=debug uci set network.wan2.pppd_options=noauth uci commit network usb_modeswitch -v 1fac -p 5031 -V 1fac -P 0150 -M 555342431234567824000000800108df200000000000000000000000000000 -n 1 -s 20 sleep 10; rmmod usbserial sleep 3; insmod usbserial vendor=0x1fac product=0x0150 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 Then I rebooted. Now my log reads like this: 00:01:49 Pineapple kern.info kernel: [ 109.850000] usbserial: USB Serial Driver core 00:01:49 Pineapple kern.info kernel: [ 109.840000] usbcore: registered new interface driver usbserial_generic 00:01:49 Pineapple kern.info kernel: [ 109.830000] usbcore: registered new interface driver usbserial 00:01:49 Pineapple kern.info kernel: [ 109.830000] USB Serial support registered for generic 00:01:46 Pineapple kern.info kernel: [ 106.790000] usbcore: deregistering interface driver usbserial 00:01:46 Pineapple kern.info kernel: [ 106.790000] USB Serial deregistering driver generic 00:01:46 Pineapple kern.info kernel: [ 106.780000] usbcore: deregistering interface driver usbserial_generic 00:01:36 Pineapple user.info sysinit: Looking for target devices ... 00:01:36 Pineapple user.info sysinit: Looking for default devices ... 00:01:36 Pineapple user.info sysinit: Franklin Wireless U600 (Virgin Mobile) detected. Attempting mode switch 00:01:36 Pineapple user.info sysinit: 1d6b:0002 05e3:0608 0cf3:9271 0781:5530 1a40:0101 1fac:0151 00:01:36 Pineapple user.info sysinit: No devices in target mode or class found 00:01:36 Pineapple user.info sysinit: No devices in default mode found. Nothing to do. Bye. 00:01:34 Pineapple user.notice root: 3G: Connection Script here, searching for modems 00:01:34 Pineapple user.info sysinit: Searching for attached 3G Modems 00:01:34 Pineapple user.info sysinit: No lease, failing 00:01:31 Pineapple user.info sysinit: Sending discover... 00:01:28 Pineapple user.info sysinit: Sending discover... 00:01:25 Pineapple user.info sysinit: udhcpc (v1.19.4) started 00:01:25 Pineapple user.info sysinit: Sending discover... 00:01:25 Pineapple user.info sysinit: Selected interface 'wlan0' 00:01:25 Pineapple user.info sysinit: OK 00:01:24 Pineapple kern.info kernel: [ 84.650000] br-lan: port 3(wlan1) entered forwarding state 00:01:23 Pineapple user.notice usb-modeswitch: 1-1.3.2:1.5: Manufacturer=Franklin_Wireless_Corp. Product=U600_EVDO_Modem Serial=? 00:01:23 Pineapple user.notice usb-modeswitch: 1-1.3.2:1.4: Manufacturer=Franklin_Wireless_Corp. Product=U600_EVDO_Modem Serial=? 00:01:23 Pineapple user.notice usb-modeswitch: 1-1.3.2:1.3: Manufacturer=Franklin_Wireless_Corp. Product=U600_EVDO_Modem Serial=? 00:01:23 Pineapple user.notice usb-modeswitch: 1-1.3.2:1.2: Manufacturer=Franklin_Wireless_Corp. Product=U600_EVDO_Modem Serial=? 00:01:23 Pineapple user.notice usb-modeswitch: 1-1.3.2:1.1: Manufacturer=Franklin_Wireless_Corp. Product=U600_EVDO_Modem Serial=? 00:01:23 Pineapple user.notice usb-modeswitch: 1-1.3.2:1.0: Manufacturer=Franklin_Wireless_Corp. Product=U600_EVDO_Modem Serial=? But lsusb still shows Bus 001 Device 007: ID 1fac:0151
  25. I had that issue too formatting drives on windows for the p-apple, my issue was i didnt create a swap partition on the USB drive and I didnt set the 1st EXT4 partition as primary. Delete your 1 partition, create one for primary and one for swap, and try that out. Also make sure your fstab looks similar to this: config global automount option from_fstab 1 option anon_mount 1 config global autoswap option from_fstab 1 option anon_swap 1 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 1 Such as mentioned here
×
×
  • Create New...