BLACK HAWK409
-
Posts
10 -
Joined
-
Last visited
Posts posted by BLACK HAWK409
-
-
Hi. just downloaded and installed the new firmware 2.0.0 and i was wondering if it´s posible to use my 3g modem?
the pineapple finds the modem, but i don´t know how to get it working
im not so good with scripts.
can any one help me on the way
some info
lsusb
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
just updated the firmware on my modem and know it´s E398 instead of E367.
-
Its working now on my mobile connection but i cannot figure out why.? are there any ports that should be open
-
Thank you for all the help! looking forward to the script! really good work!
-
not sure really what topology Means but i think it is my network setup
im running a router on 192.168.0.1 netmask 255.225.255.0.
I have tried to set the pineapple to 192.168.0.2 and i have cheked for ip conflict, but did not find any
I have also been at a friend and tested on a 192.168.1.1 network and it works!
but when I write the script to 0.x as i have, it do not work.
this is a DNS inquiry on the attacking computer Runing the script
192.168.10.3.53777> 192.168.10.150.53: 36826 + A? www.google.com
it is quite difficult to explain my problem ... all attacks works
it´s only the Internet that is not working
Test connectivity to pineapple: ping 192.168.10.1 --> working
Test connectivity to DNS server: ping 4.2.2.2 ---> working
Test DNS functionality: ping google.com ---> working
but when i ssh to 192.168.10.1 and run ping www.google.com i get no response
and then i ping 4.2.2.2 and 192.168.10.150 i get response
hope you can anderstand me :)
-
this is my curent settings on the pineapple (/etc/config/network)
config 'interface' 'loopback'
option 'ifname' 'lo'
option 'proto' 'static'
option 'ipaddr' '127.0.0.1'
option 'netmask' '255.0.0.0'
config 'interface' 'lan'
option 'ifname' 'eth0'
option 'type' 'bridge'
option 'proto' 'static'
option 'netmask' '255.255.255.0'
option 'macaddr' ''
option 'ip6addr' ''
option 'gateway' ''
option 'ip6gw' ''
option 'ipaddr' '192.168.10.1'
option 'dns' ''
and in your script
IFACE="wlan0" #Interface connected to the internet (gateway) to share, EG wlan0,eth1,usb0,ppp0,etc
WiFiMODE="1" #Use WiFi For Internet Gateway (Will create a DeAuth Rule so you dont own yourself) EG 0,1
fonIP="192.168.10.2" #IP for ethernet interface facing the Fon, the dhcp.conf is below to change subnet.
FONIFACE="eth0" #Ethernet interface facing the Jasager/Fon router, EG eth0,eth1,eth2
WIFACE="wlan0" #Wireless Interface to attack with, EG wlan0,ath0,wifi0
MIFACE="mon0" #Monitor Interface for Attacks from airmon-ng
and dhcp
subnet 192.168.10.0 netmask 255.255.255.0 {
interface $FONIFACE;
range 192.168.10.3 192.168.10.254;
option routers $fonIP;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.10.255;
option domain-name-servers $fonIP;
option domain-name \"$DomainName\";
allow unknown-clients;
/etc/resolv.conf nameserver 4.2.2.2
dnsmasq disabled
im using backtrack 5
do you need anything else?
-
Sorry I know I should have told you more ...
it is in the normal Internet connectivity, it goes wrong.
I checked in / etc / resolv.conf and it says nameserver 127.0.0.1 .. how do I change to 4.2.2.2
im from Sweden so my English is not so good ..
if it still fails after the change to 4.2.2.2
I will try to give you more info...
I appreciate your help!
-
Hi leg3nd!
Now I only have one problem, that I know:
I get the ip address and I can see DNS requests via wireshark. but then nothing happens ... what am I missing?
-
Thanks for the reply. My Settings looks like this, and when i try to connect to openwrt i dont get ip
subnet 192.168.0.0 netmask 255.255.255.0 {
interface $FONIFACE;
range 192.168.0.3 192.168.0.254;
option routers 192.168.0.1; <= is this my home router or the pineapple?
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option domain-name-servers $fonIP;
option domain-name \"$DomainName\";
and my pineapple settings like this (/etc/config/network)
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth0
option type bridge
option proto static
option ipaddr 192.168.0.4
option netmask 255.255.255.0
-
hello everyone I have a problem with this script. can not get it to work, need help to configure the script according to my network settings
Gateway IP = 192.168.0.1
Subnet = 255.255.255.0
The Pineapple coms pre configured with 192.168.1.1 Will it work on my network? if not what should I do? any tips?
if you need more info please ask me.
Huawei E367 3g Modem
in WiFi Pineapple Mark IV
Posted
Thank you so much!!!
it worked :D
this is the output when i run 3g.sh
Searching for attached 3G Modems
1d6b:0002 12d1:1506
Huawei E398 detected. Attempting mode switch
uci: Entry not found
Looking for default devices ...
found matching product ID
adding device
Found device in default mode, class or configuration (1)
Accessing device 003 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using first interface: 0x00
Using endpoints 0x01 (out) and 0x82 (in)
Not a storage device, skipping SCSI inquiry
USB description data (for identification)
-------------------------
Manufacturer: Huawei Technologies
Product: HUAWEI Mobile
Serial No.: not provided
-------------------------
Warning: no switching method given.
-> Run lsusb to note any changes. Bye.
./3g.sh: line 166: /etc/init.d/firewall: not found
./3g.sh: line 166: /etc/init.d/firewall: not found