How I got network bridging to work in Puppy 3.01

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
itoffshore
Posts: 2
Joined: Wed 02 Apr 2008, 12:14

How I got network bridging to work in Puppy 3.01

#1 Post by itoffshore »

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: Select all

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/viewto ... 46&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: Select all

cd /usr/src/linux-2.6
make menuconfig
(it should show under Networking Options)

make only the single module you need :

Code: Select all

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: Select all

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: Select all

modprobe llc
modprobe bridge
depmod
Now adding a Bridge will work :

Code: Select all

brctl addbr br0
I have attached the needed files & instructions to avoid doing all the above
Attachments
llc_modules+brctl-bridging.tar.gz
(66.98 KiB) Downloaded 747 times
Last edited by itoffshore on Sat 05 Apr 2008, 13:28, edited 4 times in total.

User avatar
erikson
Posts: 735
Joined: Wed 27 Feb 2008, 09:22
Location: Ghent, Belgium
Contact:

Re: Bridging in Puppy 3.01

#2 Post by erikson »

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: Select all

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).
[size=84][i]If it ain't broke, don't fix it.[/i] --- erikson
hp/compaq nx9030 (1.6GHz/480MB/37.2GB), ADSL, Linksys wireless router
[url]http://www.desonville.net/[/url]
Puppy page: [url]http://www.desonville.net/en/joere.puppy.htm[/url][/size]

User avatar
claude
Posts: 150
Joined: Sat 14 Apr 2007, 16:11
Location: Saint-Jérôme, Qc

bridging in Puppy 4.11

#3 Post by claude »

For itoffshore,

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

Thank you very much

Claude

sa110_mk
Posts: 8
Joined: Thu 25 Dec 2008, 12:07

Bridging in Puppy 4.1x

#4 Post by sa110_mk »

I have compiled the LLC modules for 4.1x.

Have tested these on 4.1 and 4.12

Please find them attached.
Attachments
llc.tar.gz
Puppy 4.1x LLC modules.
(39.68 KiB) Downloaded 648 times

ottershaw
Posts: 4
Joined: Sat 07 Apr 2007, 16:55

#5 Post by ottershaw »

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

Post Reply