Jump to content
d34dr00t

[Nano] iptables error & dont share internet to devices

Recommended Posts

Hi, i have error wnrb configure

root@zion:/opt# ./wp6.sh 

    _       ___ _______    ____  _                              __    
   | |     / (_) ____(_)  / __ \(_)___  ___  ____ _____  ____  / /__ 
   | | /| / / / /_  / /  / /_/ / / __ \/ _ \/ __ '/ __ \/ __ \/ / _ \
   | |/ |/ / / __/ / /  / ____/ / / / /  __/ /_/ / /_/ / /_/ / /  __/ 
   |__/|__/_/_/   /_/  /_/   /_/_/ /_/\___/\__,_/ .___/ .___/_/\___/  
                                               /_/   /_/       v6.4

    Saved Settings: Share Internet connection from 
    to WiFi Pineapple at eth1 through default gateway 

    [C]onnect using saved settings
    [G]uided setup (recommended)
    [M]anual setup
    [A]dvanced IP settings
    [Q]uit

    
    WiFi Pineapple detected. Please disconnect the WiFi Pineapple from
    this computer and press any key to continue with guided setup.
    
    Step 1 of 3: Select Default Gateway
    Default gateway reported as 
    Use the above reported default gateway?             [Y/n]? 

    Step 2 of 3: Select Internet Interface
    Internet interface reported as 
    Use the above reported Internet interface?          [Y/n]? 

    Step 3 of 3: Select WiFi Pineapple Interface
    Please connect the WiFi Pineapple to this computer.
    ....[Checking]
    Detected WiFi Pineapple on interface eth1
    Use the above detected WiFi Pineapple interface?    [Y/n]? 

    Settings saved.

    Saved Settings: Share Internet connection from 
    to WiFi Pineapple at eth1 through default gateway 

    [C]onnect using saved settings
    [G]uided setup (recommended)
    [M]anual setup
    [A]dvanced IP settings
    [Q]uit

    Detecting WiFi Pineapple............found.

         _ .           ___          \||/
       (  _ )_  <-->  [___]  <-->  ,<><>,
     (_  _(_ ,)       \___\        '<><>'
Bad argument `eth1'
Try `iptables -h' or 'iptables --help' for more information.
SIOCDELRT: No such process
Usage: inet_route [-vF] del {-host|-net} Target[/prefix] [gw Gw] [metric M] [[dev] If]
       inet_route [-vF] add {-host|-net} Target[/prefix] [gw Gw] [metric M]
                              [netmask N] [mss Mss] [window W] [irtt I]
                              [mod] [dyn] [reinstate] [[dev] If]
       inet_route [-vF] add {-host|-net} Target[/prefix] [metric M] reject
       inet_route [-FC] flush      NOT supported

    Browse to http://172.16.42.1:1471

 

and after install, when start - don't have internet connections.

 

PS how i can do hard reset? Maybe it will help.

Share this post


Link to post
Share on other sites

I make reset and this is routes

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         172.16.42.42    0.0.0.0         UG    0      0        0 br-lan
172.16.42.0     *               255.255.255.0   U     0      0        0 br-lan

 

Share this post


Link to post
Share on other sites
Bad argument `eth1'

Your eth1 interface is up an running on the Linux PC ?

Share this post


Link to post
Share on other sites

is your firewall enabled? that will cause errors.  

Share this post


Link to post
Share on other sites

I had the same problem after using the Nano for a few days, the wp6 script failed as per your listing

Default gateway reported as

but no gateway ip or Internet gateway indicated, so I deleted my wp6.sh script and downloaded a new copy which worked fine, I did have other problems with module install failing which I don't think could be related to wp6, but a new download of wp6 after a factory reset on the Nano and everything is working again.

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...