Jump to content
MrMice

wp6. sh iptables: Too many links.

Recommended Posts

Hi, just got my nano and is trying to get it up and running. So far everything has worked out as planed but the internet sharing part of the video did not go smooth.

I run the script as in the video. Using guided mode.

After the run i checked if internet was shared and it was not. Ran it a gain loading config.

Looks like it runs ok but in the end i can see this line from iptables: Too many links.

And it allso looks like dns goes down on my machine.

Using Linux Mint 19.

 

Share this post


Link to post
Share on other sites

do you have your firewall enabled?  Ive always had to disable my firewall to get it working on mint.

  • Like 1

Share this post


Link to post
Share on other sites

Not turned it on by my self. But ill check if it's running as it's a fresh install. Thanks for the reply

Share this post


Link to post
Share on other sites

Firewall is off.

looks like it the command "iptables -X" that fail whit the error. 

The script just continue if any of them fail and delete all routes in the table. Adjusted the script so it exit early but not sure what the error means yet as im new on iptables.

Share this post


Link to post
Share on other sites

pls post the fix so other can see it also, just in case anybody else has had the same problem.

Share this post


Link to post
Share on other sites

This indeed solved DNS issues on my Ubuntu 19.04 but only partially. Somehow my interface was showing a different IP than the one that comes by default on the nano:

enx00c0caa7cb1c: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.16.42.194  netmask 255.255.255.0  broadcast 172.16.42.255
        ether 00:c0:ca:a7:cb:1c  txqueuelen 1000  (Ethernet)
        RX packets 2215  bytes 1445895 (1.4 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2732  bytes 536442 (536.4 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

That is 172.16.42.194 instead of the expected 172.16.42.42. I changed the default route on the pineapple -> Networking -> Default route and it all went smoothly from there. Damn that was hard to find!

Share this post


Link to post
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.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...