SgtPineapple
-
Posts
9 -
Joined
-
Last visited
Posts posted by SgtPineapple
-
-
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
-
If lsusb shows you this:
Bus 001 Device 005: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E230/E270/E870 HSDPA/HSUPA Modem
Remove the usb modeswitching from the script!!!!
Huawei E160E working configuration ( may work for others too! ):
*12d1:1003*) echo "E220 HSDPA 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=real apn name here
uci set network.wan2.username=real username here
uci set network.wan2.password=password here ( if needed )
uci set network.wan2.defaultroute=1
uci commit network
#Comment out the line below!
#usb_modeswitch -v 12d1 -p 1003 -V 12d1 -P 1003 -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
Thanks to everyone for the 3g info :)
- SgtPineapple
-
Very cool indeed!!!
-
I've had the best results with BT5 by just installing it on my HD. Everything just works :) Using BT5 via VMware is somewhat flaky and the live booting is just a pain in the a**.
-
There are lots of factors as to why it isn't working the way you think it should. In a perfect world, with no air, obstructions, and perfect antenna, an omni directional antenna's radiation pattern will look like a doughnut with the antenna going through the hole. The higher the db the flatter that doughnut will get, but the farther it will reach horizontally. Since we don't live in a perfect world, and there's shit all around our antennas, the doughnut will look more like something a kinder-gardener would make. It's going to have bumps and odd lumps around the pattern. It could also be tilted one way or another, so when you think it should be straight, after all the antenna is pointing straight up, it's tilted. I've seen antennas so screwed up that if you walk out past 20 feet or so your signal will drop almost in half, but only if you walk one direction, go the other way and it stays fine. It also depends on how the antenna is attached to the radio. Is it directly connected or is it using a cable? If it's a cable, what's the loss of the cable? Are there any kinks in the cable, cause that will cause additional signal loss over the normal signal loss of the cable. Was the little Malaysian kid that made the cable having a bad day? Maybe he didn't get the connector crimped quite right.
Attached with a very short cable so there should not be that much loss there. Have to do some tests with my alfa card with the same antennas.
-
When i got my pineapple and got ICS working, i went for a drive and some devices were connecting to pineapple. I immediately started looking for bigger antennas for my pineapple so that i could get better results. I bought a 8dbi TP-LINK antenna and i didn't really see any improvements, far from it. I also bought a bigger 3com 8dbi omni antenna for under 50 euros which FOR SURE would get me more connects, but NO
The stock antenna on the pineapple will give me twice the range that the longer 8dbi "ducky" omni and the 8dbi 3com antenna will... What's happening here guys??? :D
I can walk some 100 feet from my house and i still get a connection with the stock antenna, the range drops in half when one of the other antennas are connected.
-
Alfa will use about 80-130mAh of power and runs great from my laptop usb port = me likey :)
-
Download Wireshark and start capturing packets. Look into SSLstrip. Have fun :)
Add 3g Modem
in WiFi Pineapple Mark IV
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