Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 20 Jun 2013, 03:33
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Puppy 4.31 as wireless gateway
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
sindi

Joined: 16 Aug 2009
Posts: 186

PostPosted: Sun 02 Oct 2011, 14:27    Post subject:  Puppy 4.31 as wireless gateway
Subject description: how best to set it up?
 

How do I set up Puppy 4.31 on a laptop with pcmcia wireless card
to connect with my neighbor's wireless signal and then transmit
it via wired ethernet to a hub? We want to share the signal since
we keep different hours anyway and AT&T keeps raising the price.
I have done this in basiclinux (which would work in much less
RAM - under 10MB console mode), but basiclinux (circa 2001)
does not have drivers for the cardbus wireless cards and I
need cardbus or USB for WPA support (and greater range).
I have a nice 200MHz laptop (with erratic LCD screen) and
enough memory for Puppy, and two others that will take 96MB
to run Pulp, (one of which only boots from floppy drive the
other with keyboard problems but this is all irrelevant for
a bridge). The neighbor is diagonally across the street and
I can put the laptop in the front window of an empty apartment
next door then run an ethernet cable to my apartment.

In basiclinux

ifconfig eth0 192.168.1.1 on gateway (with wireless card)
ifconfig eth0 192.168.1.2 on client (plugged into hub)
route add default gw 192.168.1.1 on client
echo "1" > /proc/sys/net/ip_forward

This sets things up for the gateway to forward to the client.

Is there a simpler way to do this with puppy linux?

This would save the cost of a bridge and make use of
an otherwise not very useful laptop.
Back to top
View user's profile Send private message 
sindi

Joined: 16 Aug 2009
Posts: 186

PostPosted: Mon 03 Oct 2011, 13:32    Post subject: Puppy as wireless gateway
Subject description: already discussed
 

There are other postings about this.
I got it working fine with Basiclinux as gateway
and Puppy as client. Edit /proc/sys/net/ipv4/ip_forward to read 1 instead of 0 on the gateway.
My method uses ipchains as firewall but puppy does not have ipchains.
My neighbor can probably set his
router to connect only to his and
my IP numbers and MAC addresses for
added security instead.

This HP N5415 onboard wired ethernet
works with Basiclinux not Puppy linux - why?
Dead PCMCIA so I cannot use it as gateway except
with USB wired and wireless cards
(and a USB hub - they are too close)
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 4950
Location: Australia

PostPosted: Tue 04 Oct 2011, 06:33    Post subject:  

sindi wrote:
My method uses ipchains as firewall but puppy does not have ipchains.

That's because ipchains is long outdated. It's been replaced by iptables ...
but ipchains/iptables configuration can get quite complex, as your Puppy starts to act like a router.
I think it would be far more easy just to pass network traffic through Puppy with "bridge-utils" -
http://www.murga-linux.com/puppy/viewtopic.php?p=526634#526634
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 2693
Location: Earth

PostPosted: Wed 05 Oct 2011, 00:03    Post subject:  

Got an idea. What type of ATT router is your neighbor using. What type of ATT router did you have before you got rid of them? Maybe a way to utilize thiem to accomplish your objective wihout have to use the electricity to run your laptops. Might save a little more money.
_________________
Get ACTIVE; Create Circles; Do those good things which benefit the people's needs!
We are all related ... Its time to show that we know this!
Google's Puppy Search Engine
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0434s ][ Queries: 11 (0.0076s) ][ GZIP on ]