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 Wed 16 Apr 2014, 18:38
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How I got network bridging to work in Puppy 3.01
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
itoffshore

Joined: 02 Apr 2008
Posts: 2

PostPosted: Fri 04 Apr 2008, 09:14    Post subject:  How I got network bridging to work in Puppy 3.01
Subject description: brctl & llc modules needed to get it working
 

I have got bridging working on a 3.01 hard drive install

Bridging is used to connect 2 or more networks / interfaces seamlessly (your ethernet & wireless ethernet cards for instance) It can also be used to connect Virtual Machines / interfaces to the Hosts interface. I'm going to use it to bridge a virtual interface with Samba connected to a VM in Qemu so I can share files between the linux host & Windows VM (I have an ADSL modem & no physical network card with a fixed non public IP) - I'll add to this Howto as I have more success with this.

After installing bridge-utils you need load the Bridge Module - you will see this depends on the LLC Module

Code:
modinfo bridge


The Bridge Module comes precompiled with Puppy 3.01 but the LLC Module does not.

To compile the LLC Module you need to install Devx_301.sfs

http://www.murga-linux.com/puppy/viewtopic.php?search_id=113436246&t=22701

& then do the same for kernel-src_301.sfs

Enter the kernel source directory & check that "IEEE 802.2 core LLC support" is enabled
as a Module :

Code:
cd /usr/src/linux-2.6
make menuconfig


(it should show under Networking Options)

make only the single module you need :

Code:
make M=net/llc


After compiling llc.ko (needed by the Bridge Module) it needs to be put in :

/lib/modules/2.6.21.7/kernel/net/llc/llc.ko

Code:
cp net/llc/*.ko /lib/modules/2.6.21.7/kernel/net/llc/


So the new Modules are found by Modprobe you need to edit :

/lib/modules/2.6.21.7/modules.dep & manually add the following lines :

/lib/modules/2.6.21.7/kernel/net/llc/llc.ko:
/lib/modules/2.6.21.7/kernel/net/llc/llc2.ko:

Then load the needed Modules & rewrite the Module Dependencies file :

Code:
modprobe llc
modprobe bridge
depmod


Now adding a Bridge will work :

Code:
brctl addbr br0


I have attached the needed files & instructions to avoid doing all the above
llc_modules+brctl-bridging.tar.gz
Description 
gz

 Download 
Filename  llc_modules+brctl-bridging.tar.gz 
Filesize  66.98 KB 
Downloaded  532 Time(s) 

Last edited by itoffshore on Sat 05 Apr 2008, 09:28; edited 4 times in total
Back to top
View user's profile Send private message 
erikson


Joined: 27 Feb 2008
Posts: 735
Location: Ghent, Belgium

PostPosted: Fri 25 Apr 2008, 11:11    Post subject: Re: Bridging in Puppy 3.01
Subject description: brctl & llc modules needed to get it working
 

itoffshore wrote:
Bridging is used to connect 2 or more networks / interfaces seamlessly (your ethernet & wireless ethernet cards for instance)

I may be missing the point, but isn't that simply IP packet forwarding? Doesn't that work without further ado by activating packet forwarding with the following command?
Code:
cat 1 > /proc/sys/net/ipv4/ip_forward

(Re. virtual interfaces, Samba etc I know next to nothing, so I can't comment on that).

_________________
If it ain't broke, don't fix it. --- erikson
hp/compaq nx9030 (1.6GHz/480MB/37.2GB), ADSL, Linksys wireless router
http://www.desonville.net/
Puppy page: http://www.desonville.net/en/joere.puppy.htm

Back to top
View user's profile Send private message Visit poster's website 
claude


Joined: 14 Apr 2007
Posts: 153
Location: Saint-Jérôme, Qc

PostPosted: Wed 19 Nov 2008, 09:01    Post subject:  bridging in Puppy 4.11
Subject description: module llc
 

For itoffshore,

Would it be possible to get the llc modules compiled for kernel 2.6.25 ?

Thank you very much

Claude
Back to top
View user's profile Send private message 
sa110_mk

Joined: 25 Dec 2008
Posts: 8

PostPosted: Thu 22 Jan 2009, 16:47    Post subject: Bridging in Puppy 4.1x
Subject description: LLC modules for 4.1x
 

I have compiled the LLC modules for 4.1x.

Have tested these on 4.1 and 4.12

Please find them attached.
llc.tar.gz
Description  Puppy 4.1x LLC modules.
gz

 Download 
Filename  llc.tar.gz 
Filesize  39.68 KB 
Downloaded  439 Time(s) 
Back to top
View user's profile Send private message 
ottershaw

Joined: 07 Apr 2007
Posts: 4

PostPosted: Fri 24 Jul 2009, 23:38    Post subject:  

Hello All,

The llc modules provided for 3.01 work great. I had to execute the depmod command before the modprobe commands to get them loaded.

Will the llc ethernet bridging modules work with Puppy 4.2.1 K2.6.25.16 Seamonkey?

EDIT: No, the 4.1 llc modules do NOT work with the 4.2.1 Puppy.

Would some kind soul please compile them?

Also...is there a technical reason that bridging is not included in puppy?

Thanks,

Gordon
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
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.0581s ][ Queries: 12 (0.0117s) ][ GZIP on ]