Sharing internet through WiFi..setting up softAP

Wabbit

Banned
Legendary
Joined
Nov 15, 2011
Messages
11,335
Reaction score
797
[size=+1]I want to share my net to my android device through WiFi using my laptop..[/size]
I tried in my Ubuntu using hostapd but I am stuck at bridging eth0 to wlan0 :nuts:
Is there any way in windows?
 

Crow Zero

Jōnin Strategist 🧠
Regular
Joined
Apr 13, 2013
Messages
1,461
Reaction score
173
Your android dont hve wifi ? :|
 

Wabbit

Banned
Legendary
Joined
Nov 15, 2011
Messages
11,335
Reaction score
797
Try ad-hoc connection with windows.
I tried ad-hoc it didnt worked and I found out that recent Andriod devices does not support ad-hoc networks..
Your android dont hve wifi ? :|
WTF..man..off course it has wifi..I want share internet from my PC to android device through wifi interface..
 

Evil

Member
Joined
Sep 1, 2011
Messages
35
Reaction score
3
You can't bridge eth0 to wlan0 or wlan0 to eth0 directly.

Edit: Can you copypastebin the iptables config you were trying to use?
 

Flaw

Kage in the Making 👑
Legendary
Joined
Jun 8, 2008
Messages
14,294
Reaction score
1,240
Open a terminal and type ifconfig then post the outcome.
 

Wabbit

Banned
Legendary
Joined
Nov 15, 2011
Messages
11,335
Reaction score
797
Open a terminal and type ifconfig then post the outcome.
Code:
eth0      Link encap:Ethernet  HWaddr 00:26:b9:0e:xx:xx  
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::226:b9ff:fe0e:d1fe/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:838057 errors:0 dropped:0 overruns:0 frame:0
          TX packets:881735 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:710484076 (710.4 MB)  TX bytes:149980677 (149.9 MB)
          Interrupt:42 Base address:0x2000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:824 errors:0 dropped:0 overruns:0 frame:0
          TX packets:824 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:65186 (65.1 KB)  TX bytes:65186 (65.1 KB)

pan1      Link encap:Ethernet  HWaddr ee:43:88:c4:ff:51  
          inet addr:10.209.9.1  Bcast:10.209.9.255  Mask:255.255.255.0
          inet6 addr: fe80::ec43:88ff:fec4:ff51/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1443 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:80590 (80.5 KB)

wlan0     Link encap:Ethernet  HWaddr c4:17:xx:xx:xx:xx 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 
Top