shareInternet-2.2.6.pet - Puppy as router - bugfix
I bit the bullit and got a android phone with the carriers 4G lte coverage on my Ranch. Which has always been an AT&T oddity. They have always had way more spot coverage in my zone. I expect that was due to the Motorola manufacturing plant about 20 miles away. I think they must have had a cell tower test equipment spreader nearby because of existing microwave back haul superhighway line of sight between ATT San Antonio and Houston that goes directly chest high across my property. The usb tether idea would be nice as well for me for the same power usage problem other poster pointed out.
My current sprint cell company mifi has the expected lousy coverage my distance and terrain should have.
My current sprint cell company mifi has the expected lousy coverage my distance and terrain should have.
problems with bridge
hello all, this is my first post. thanks to all who have helped on this forum, i hope that someday i will have enough experience to do the same.
my configuration......
internet(wifi router) >>>>>> usb wifi adapter >>puppy box>>ethernet card >>>>> wifi router(Netgear) >>>>>>(android phones, tablets, etc...)
i am trying to use the netgear wifi router for my home, to connect adroid phoned, tablets, etc... the internet gateway and other wifi router is at my dads house. i use the usb wifi adapter on my puppy box to connect to it. i want to pipe the connection through the ethernet card to the netgear router here at my house.
i can connect to wifi internet with puppy box, i can connect to netgear router with android phones.shareinternet2.2.4 is showing green circle, but i cant get through
wifi router/gateway.....192.168.1.1 dhcp server192.168.1.100>>199
usb adapter...............192.168.1.102
ethernet card.............192.168.0.6(static)
netgear router............192.168.0.1 dhcp server192.168.0.2>>254
my configuration......
internet(wifi router) >>>>>> usb wifi adapter >>puppy box>>ethernet card >>>>> wifi router(Netgear) >>>>>>(android phones, tablets, etc...)
i am trying to use the netgear wifi router for my home, to connect adroid phoned, tablets, etc... the internet gateway and other wifi router is at my dads house. i use the usb wifi adapter on my puppy box to connect to it. i want to pipe the connection through the ethernet card to the netgear router here at my house.
i can connect to wifi internet with puppy box, i can connect to netgear router with android phones.shareinternet2.2.4 is showing green circle, but i cant get through
wifi router/gateway.....192.168.1.1 dhcp server192.168.1.100>>199
usb adapter...............192.168.1.102
ethernet card.............192.168.0.6(static)
netgear router............192.168.0.1 dhcp server192.168.0.2>>254
dwwideman,
I suggest you try using your Netgear router as just a wifi access point, not a router. The puppy box is the router.
Do this by connecting the ethernet cable to a lan port on the Netgear router, not the wan port.
Also disable the dhcp server on the Netgear. Again this service is provided by the puppy box.
You can easily test Internet access by using one of the other lan ports on the Netgear.
Devices connected to the Netgear, should see the IP address of the puppy ethernet card, as their gateway address.
OR
You could try just setting the IP address of the puppy ethernet card to 192.168.2.1
gyro
I suggest you try using your Netgear router as just a wifi access point, not a router. The puppy box is the router.
Do this by connecting the ethernet cable to a lan port on the Netgear router, not the wan port.
Also disable the dhcp server on the Netgear. Again this service is provided by the puppy box.
You can easily test Internet access by using one of the other lan ports on the Netgear.
Devices connected to the Netgear, should see the IP address of the puppy ethernet card, as their gateway address.
OR
You could try just setting the IP address of the puppy ethernet card to 192.168.2.1
gyro
Last edited by gyro on Mon 09 Dec 2013, 15:30, edited 2 times in total.
Hi @Ted Dog
If your router is new, you can appeal to their telephone support for assistance. If its not, their support website or various forums (including this forum) can assist if you need.
I dont have your brand of router.
Hope this helps
You should be able to run it as an AP as you suggest. It can be either a wireless AP provided services to wireless devices, or for some routers, both wired and wireless.Ted Dog wrote:I have a tplink wr702n. and wanted it to run a AP wireless network as a local network, ...
If your router is new, you can appeal to their telephone support for assistance. If its not, their support website or various forums (including this forum) can assist if you need.
I dont have your brand of router.
Hope this helps
I think it is broken... lights are green but cant get to a web based configuration screen. I have even tried windows 8.1 and nothing.. but found out I did not check everything on my upgrade to wi 8.1 and the keyboard under win8.1 no longer works after login and usb is wacky as well. the internet is full of complainers about that new class of bugs..
may have to actually hook it up to a internet cable to change setting via its web interface. Im guessing the USB cable came with it is power only.
may have to actually hook it up to a internet cable to change setting via its web interface. Im guessing the USB cable came with it is power only.
after rebuilding win8.1 (copied disk image with fatdog64 ) was able to find setting for direct ip with eth0 to get to the control webpage of device. Turned on the DHCP setting now can see this on wifi without internet. Discovered that eth0 still works along with wireless so this is ideal. My main box has no wireless but plenty of harddrive bays and bluray drives, so now everybody can talk.
@gyro
I downloaded this over the weekend to hopefully make a thumbdrive router. I set aside a 4 hour timeblock to work on it. It took 15 minutes.
So I went to the driving range.
Thanks so much for this app. So powerful, yet effortless to use.
BTW, I built the router thumbdrive using Precise 5.7.1 retro.
I downloaded this over the weekend to hopefully make a thumbdrive router. I set aside a 4 hour timeblock to work on it. It took 15 minutes.
So I went to the driving range.
Thanks so much for this app. So powerful, yet effortless to use.
BTW, I built the router thumbdrive using Precise 5.7.1 retro.
PC router PET with dependency
Hello @Gyro
Question:
There is the advantage that your PET could be valuable in both 32bit and 64bit PUP distros.
Thanks for any consideration
Question:
- Some PUPs come with DNSMASQ built in (OOTB). Is there a chance that you could package a PET which merely uses the existing, sometimes newer DNSMASQ installed or can detect the dependency?
There is the advantage that your PET could be valuable in both 32bit and 64bit PUP distros.
Thanks for any consideration
Hey Gyro
I am using shareInternet (along with hostapd) since Slacko-5.5 and it's great!
However I've been always wondering if the 'iptables' part needs some adjusting, because I'm getting this:
and it's caused by this:
Not sure if it's really that important, just reporting.
Thanks &
Greetings!
I am using shareInternet (along with hostapd) since Slacko-5.5 and it's great!
However I've been always wondering if the 'iptables' part needs some adjusting, because I'm getting this:
Code: Select all
# ./AppRun start
[ -f /etc/dnsmasq.conf ] && dnsmasq -a "10.0.0.1" -F "10.0.0.100,10.0.0.200,60000" -l "/tmp/dnsmasq.leases.10.0.0"
iptables v1.4.14:
The "nat" table is not intended for filtering, the use of DROP is therefore inhibited.
Try `iptables -h' or 'iptables --help' for more information.
[repeated 4 times]
Code: Select all
#
# We don't like the NetBIOS and Samba leaking..
#
iptables -t nat -A PREROUTING -p TCP --dport 135:139 -j DROP
iptables -t nat -A PREROUTING -p UDP --dport 135:139 -j DROP
iptables -t nat -A PREROUTING -p TCP --dport 445 -j DROP
iptables -t nat -A PREROUTING -p UDP --dport 445 -j DROP
Thanks &
Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]
[b][color=green]Omnia mea mecum porto.[/color][/b]
Why not create an actual menu entry? That's the most intuitive way for things to work with a PET. I'd model it after the x11vnc script, which will inform you if it's working and prompt to install it permanently, as well as tell you to run it again to uninstall.
And why not set dnsmasq as a dependency, or have the script go get it from the repository? If that's not possible, at least launching PPM and giving instructions would be nice.
I could also see adding a help button to your error messages that would link to a readme with more information, instead of just having the readme in the forum.
Because, honestly, I think your pet should come with Puppy. This type of sharing comes with most OSes nowadays. It could be integrated into any Network configuration program. But you have to get it as easy as possible to use first.
And you're so close!
And why not set dnsmasq as a dependency, or have the script go get it from the repository? If that's not possible, at least launching PPM and giving instructions would be nice.
I could also see adding a help button to your error messages that would link to a readme with more information, instead of just having the readme in the forum.
Because, honestly, I think your pet should come with Puppy. This type of sharing comes with most OSes nowadays. It could be integrated into any Network configuration program. But you have to get it as easy as possible to use first.
And you're so close!
Then such a program is simply wrong, from an IP networking perspective.trlkly wrote:BTW, the readme you do provide is a little confusing. You don't leave the Gateway and such stuff blank, but set it to 0.0.0.0. Leaving it actually blank often causes programs to tell you "you must enter Gateway" or similar.
But, I'm not interested in arguing about, or working on this program anymore. The existing code demonstrates how to do the actual deed. If anyone wants to make it pretty in some different way then go for it.
gyro
- MyPuppysaysWauWau
- Posts: 162
- Joined: Thu 20 Feb 2014, 10:12
- Location: Austria/Vienna
I can connect the devices, but not the Internet
Hi gyro,
I installed ap-hotspot with dependencies and further needful stuff for the wifi connection. But Previously w/o shareInternet. I could activate the hotspot, but not connect. In the debug-mode, i got i.a. the message:
ap-hotspot debug says:
Whats going wrong?
Regards,
Walter
I installed ap-hotspot with dependencies and further needful stuff for the wifi connection. But Previously w/o shareInternet. I could activate the hotspot, but not connect. In the debug-mode, i got i.a. the message:
Yet I've installed shareInternet, now I can connect both devices, but not connect to the Internet.iptables v1.4.12: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
ap-hotspot debug says:
Whats going wrong?
Regards,
Walter
Last edited by MyPuppysaysWauWau on Sat 02 May 2015, 18:45, edited 1 time in total.
[size=100][color=darkblue][b]Don't[/b] start because it's [i]easy.[/i] [b]Start[/b] because it's [i]worth trying[/i]. [b]Don't [/b]stop because it's [i]hard[/i]. [b]Stop[/b] because you tried your [i]Best[/i].[/color][/size]