Jump to content

Recommended Posts

Hi all, i'm trying to setup the internet connection sharing in ubuntu, but when i run the script don't do nothing, here is some screenshots about my configuration:

hackzilla@Notebook:~$ iwconfig

lo no wireless extensions.

eth1 IEEE 802.11 Access Point: Not-Associated

Link Quality:1 Signal level:171 Noise level:199

Rx invalid nwid:0 invalid crypt:2 invalid misc:0

eth0 no wireless extensions.

hackzilla@Notebook:~$ iwconfig

lo no wireless extensions.

eth1 IEEE 802.11 Access Point: Not-Associated

Link Quality:1 Signal level:171 Noise level:199

Rx invalid nwid:0 invalid crypt:2 invalid misc:0

eth0 no wireless extensions.

hackzilla @ Notebook: ~ $ ifconfig

eth0 Link encap: Ethernet direcciónHW 00:23:5 a: a4: 7b: 8c

Inet6 addr: fe80 :: 223:5 aff: fea4: 7b8c/64 Scope: Link

ACTIVE BROADCAST RUNNING MULTICAST MTU: 1500 Metric: 1

RX packets: 348 errors: 0 lost: 0 overruns: 0 frame: 0

TX packets: 194 errors: 0 Lost: 0 overruns: 0 carrier: 0

collisions: 0 long.colaTX: 1000

RX bytes: 23439 (23.4 KB) TX bytes: 25429 (25.4 KB)

Interrupt: 46 Base address: 0xA000

eth1 Link encap: Ethernet direcciónHW 00:21:00: f1: f3: a7

Direction. inet: 192.168.1.100 broadcast software.: 192.168.1.255 Mask: 255.255.255.0

Inet6 addr: fe80 :: 221: ff: fef1: f3a7/64 Scope: Link

ACTIVE BROADCAST RUNNING MULTICAST MTU: 1500 Metric: 1

RX packets: 397087 errors: 0 lost: 0 overruns: 0 frame: 1087604

TX packets: 254160 errors: 171 Lost: 0 overruns: 0 carrier: 0

collisions: 0 long.colaTX: 1000

RX bytes: 551948883 (551.9 MB) TX bytes: 25213181 (25.2 MB)

Interruption: 18

lo Link encap: Local Loopback

Direction. inet: 127.0.0.1 Mask: 255.0.0.0

Inet6 addr ::: 1/128 Scope: Host

LOOP ACTIVE RUNNING MTU: 16436 Metric: 1

RX packets: 7937 errors: 0 lost: 0 overruns: 0 frame: 0

TX packets: 7937 errors: 0 Lost: 0 overruns: 0 carrier: 0

collisions: 0 long.colaTX: 0

RX bytes: 650816 (650.8 KB) TX bytes: 650816 (650.8 KB)

do you have any idea why the internet connection is on eth1 if i'm connected to my house wifi, so, should not be wlan0?

Thanks!

Link to comment
Share on other sites

I am guessing that you are connected wireless to your home network an via cable (ethernet) to your pineapple.

the interface which is connected to the internet seems to be eth1.So try running wp4.sh script using this interface (eth1 and not the default wlan0) at the part "Interface between PC and Internet:" and the free (i guess) eth0 (via ethernet) as the "Interface between PC and Pineapple".

So try if this set up will help you:

Pineapple Netmask: 255.255.255.0

Pineapple Network: 172.16.42.0/24

Interface between PC and Pineapple : eth1

Interface between PC and Internet: eth0

Internet Gateway: (your gateway... 192.168.1.1?)

IP Address of Host PC :172.16.42.42

Link to comment
Share on other sites

Thanks for your help, but when I follow all the steps, the console show me this error:

SIOCDELRT: No such process

there is some problem with the default gateway, but the correct gateway is "192.168.1.1", so i don't know what is the problem with that :(

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...