Jump to content

wp6. sh iptables: Too many links.


MrMice

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.

 

Link to comment
Share on other sites

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

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 1 year later...

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!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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