Running Debian lenny or squeeze on Bubba Two

How are you using your Bubba Two or Excito B3? Got pictures? Share here!
paulchany
Posts: 123
Joined: 10 Jul 2009, 15:48
Location: Serbia
Contact:

Re: Running Debian lenny or squeeze on Bubba Two

Post by paulchany » 30 Jun 2011, 09:24

What to do now?
I think I'm going to upgrade my Bubba Two once again but this time I shall setup a dhcp-server on it before closing my ssh session to my Bubba.
Best, Pali

johannes
Posts: 1469
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

Re: Running Debian lenny or squeeze on Bubba Two

Post by johannes » 30 Jun 2011, 09:32

Well, since you uninstalled hte bubba logic, I am not sure how a standard linux handles ip adresses and dhcp requests. It's very possible that the ethernet doesn't have interfaces at all right now, since 10.1 doesn't work anymore. Normally you would use a keyboard and a screen to setup the NIC but this isn't an option with B2 as you know.

Another option is to use the USB installer in rescue mode to gain access to the hdd. You can read about this in the users manual. This won't give access to your running LInux system, but to a system running from USB where you can mount and access the hdd and make the changes you need in configuration (I guess you can set a fixed IP manually in a config file?)

A third option is to make a serial console access to B2, but since usbserial isn't installed (I guess?) you need to solder a hard serial port.

A fourth option is to reinstall and do the procedure once again, and don't exit the shell until you have set a fixed IP on one of the ethernet ports. :)

I hope you figure it out, good luck!
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)

paulchany
Posts: 123
Joined: 10 Jul 2009, 15:48
Location: Serbia
Contact:

Re: Running Debian lenny or squeeze on Bubba Two

Post by paulchany » 01 Jul 2011, 05:34

iansealy wrote:
tor wrote:Other things that could be interesting ;) is that we have tried to keep an powerpc repo somewhat up to date with the b3 repository. Our goal here is to try unify the code base between B2 and B3 as much as possible.

This means that you should have a good chance to upgrade a B2 system running Lenny against our B3-repositoriy. The repository is located here: http://b3.update.excito.org/
I've finally got around to trying out this repository to see if there's a new kernel or similar. (I haven't tried upgrading a standard B2 system via this repository - I'm still only interested in running a standard Debian install on my Bubba.)

So here's an addition to the recipe that started this thread:

Code: Select all

sudo perl -spi -e 's/update.excito.org/b3.update.excito.org/' /etc/apt/sources.list /etc/apt/preferences
sudo perl -spi -e 's/marielle/elvin/' /etc/apt/sources.list
sudo aptitude update
sudo aptitude dist-upgrade
There was no new kernel, but bubba-status and excito-keyring did get updated.

Cheers,
Ian
I did so but during dist-upgrade I replaced the
Configuration file `/etc/init.d/led_on'
and
Configuration file `/etc/init.d/led_blink'
with the the package maintainer's versions

(See here the full messages: http://pastebin.com/HTgPmVhS)

and after this I get this messages bellow:
Installing new version of config file /etc/init.d/led_blink ...
update-rc.d: warning: led_on start runlevel arguments (2) do not match LSB Default-Start values (0 2)

and the LED start blinking at 1 Hz and remain so far in this state. :(

I see that that there in the /etc/init.d/ directory there was the old scripts:
/etc/init.d/led_blink.dpkg-old
/etc/init.d/led_on.dpkg-old
beside the new ones:
led_blink
led_on

What can I do to solve this?
Best, Pali

paulchany
Posts: 123
Joined: 10 Jul 2009, 15:48
Location: Serbia
Contact:

Re: Running Debian lenny or squeeze on Bubba Two

Post by paulchany » 01 Jul 2011, 06:32

paulchany wrote: I did so but during dist-upgrade I replaced the
Configuration file `/etc/init.d/led_on'
and
Configuration file `/etc/init.d/led_blink'
with the the package maintainer's versions

(See here the full messages: http://pastebin.com/HTgPmVhS)

and after this I get this messages bellow:
Installing new version of config file /etc/init.d/led_blink ...
update-rc.d: warning: led_on start runlevel arguments (2) do not match LSB Default-Start values (0 2)

and the LED start blinking at 1 Hz and remain so far in this state. :(

What can I do to solve this?
Well, just run the command as root:

Code: Select all

/etc/init.d/led_on restart
Best, Pali

paulchany
Posts: 123
Joined: 10 Jul 2009, 15:48
Location: Serbia
Contact:

Re: Running Debian lenny or squeeze on Bubba Two

Post by paulchany » 02 Jul 2011, 06:33

I have upgraded my Bubba Two to Debian Squeeze now.

Now I want to setup my Bubba as a firewall/gateway and I did the following:
http://pastebin.com/xh0FzZQh

It seems that that the newest bubba kernel doesn't have at least the following support:
MARK Target
LOG Target
Packet Mangling
Multi-port Match

Well, I'm very sad because I can't setup my Bubba Two as a firewall/gateway running on it Debian Squeeze, right?

Are there any solutions for this?

Maybe if I install the bubba-networkmanager package then I solve the whole problem with WAN, LAN, firewall/gateway issue?
Best, Pali

paulchany
Posts: 123
Joined: 10 Jul 2009, 15:48
Location: Serbia
Contact:

Re: Running Debian lenny or squeeze on Bubba Two

Post by paulchany » 07 Jul 2011, 00:48

paulchany wrote:I have upgraded my Bubba Two to Debian Squeeze now.
Now I wan to setup my Bubba as a firewall/gateway.
I completed this task successfully with the following steps:
http://forums.debian.net/viewtopic.php? ... 05#p380805
paulchany wrote:It seems that that the newest bubba kernel: 'Linux bubba 2.6.32.13 #1' doesn't have at least the following support:
MARK Target
LOG Target
Packet Mangling
Multi-port Match
So I can't to use shorewall version 4.4.11.6 that is a debian package on Debian Squeeze on my Bubba Two to setup iptables rules.
Best, Pali

shadowbox
Posts: 32
Joined: 07 Oct 2008, 20:17

Re: Running Debian lenny or squeeze on Bubba Two

Post by shadowbox » 18 Jul 2011, 22:44

I am very happily now on Squeeze. Thank you for the clear directions!

paulchany
Posts: 123
Joined: 10 Jul 2009, 15:48
Location: Serbia
Contact:

Re: Running Debian lenny or squeeze on Bubba Two

Post by paulchany » 21 Jul 2011, 03:39

tor wrote:The excito-kernel is "necessary" since it contains some hw-specific alterations. If you are interested in examine it more closely its available here http://download.excito.net/kernel/BubbaTwo/ Unfortunately it is a bit tricky to build since it uses compat wireless for wlan-drivers./Tor
I'm interested to build the kernel/BubbaTwo: 2.6.32.13.
Are there any HOWTO how to build an excito kernel?
Best, Pali

Ubi
Posts: 1547
Joined: 17 Jul 2007, 09:01

Re: Running Debian lenny or squeeze on Bubba Two

Post by Ubi » 21 Jul 2011, 15:14

sure, just follow the wiki pages

http://wiki.excito.org/wiki/index.php/U ... _on_the_B3

(yes this one is for another purpose, but I think you get an idea on what to do whilst reading it.)

paulchany
Posts: 123
Joined: 10 Jul 2009, 15:48
Location: Serbia
Contact:

Re: Running Debian lenny or squeeze on Bubba Two

Post by paulchany » 26 Jul 2011, 06:58

Ubi wrote:sure, just follow the wiki pages

http://wiki.excito.org/wiki/index.php/U ... _on_the_B3

(yes this one is for another purpose, but I think you get an idea on what to do whilst reading it.)
OK I was build kernels already on Intel based PC Box on Debian systems.
I was using .config file copied from /boot/ directory into unpacked kernel source directory.
But here on my Bubba Two box with Debian GNU/Linux Squeeze system I can't find any config file for the running kernel. I want to run 'make menuconfig' and then load the old config file to change some setups.
Where is the config file of the running kernel on Bubba Two?
Best, Pali

carl
Posts: 474
Joined: 07 May 2008, 04:41

Re: Running Debian lenny or squeeze on Bubba Two

Post by carl » 26 Jul 2011, 08:16

The kernel can be located at http://download.excito.net/kernel/Excito_B3/2.6.38/ for B3 and http://download.excito.net/kernel/BubbaTwo/2.6.32.13/ for B2;
The config is included in the patch
/Carl Fürstenberg, Excito Software Developer
http://www.excito.com
support@excito.com

paulchany
Posts: 123
Joined: 10 Jul 2009, 15:48
Location: Serbia
Contact:

Re: Running Debian lenny or squeeze on Bubba Two

Post by paulchany » 26 Jul 2011, 14:06

carl wrote:The kernel can be located at http://download.excito.net/kernel/Excito_B3/2.6.38/ for B3 and http://download.excito.net/kernel/BubbaTwo/2.6.32.13/ for B2;
The config is included in the patch
Also I can read the config of the running kernel with the 'zless /proc/config.gz' command too. One must run this command with root privileges (eg.: 'sudo zless /proc/config.gz').
Best, Pali

paulchany
Posts: 123
Joined: 10 Jul 2009, 15:48
Location: Serbia
Contact:

Re: Running Debian lenny or squeeze on Bubba Two

Post by paulchany » 01 Aug 2011, 06:35

tor wrote:The excito-kernel is "necessary" since it contains some hw-specific alterations. If you are interested in examine it more closely its available here http://download.excito.net/kernel/BubbaTwo/ Unfortunately it is a bit tricky to build since it uses compat wireless for wlan-drivers./Tor
Must I build the kernel for Bubba 2 with compat wireless wlan-drivers?

I did following: I configured the kernel with 'make menuconfig';
In menuconfig I loaded the KernelConfig config file that I get with following command:
zless /proc/config.gz > KernelConfig
This is the configuration that being uses the running kernel.

After I added the followings into kernel:
<*> "MARK" target support
<*> "multiport" Multiple port match support
<*> LOG target support
<*> Packet mangling

I did run 'make' and shall run 'make modules_install' and finally shall copy the kernel image bzImage to the /boot/ directory where should bee the regular bootable kernel, right?
I find there only following files:

8313E21.dtb
bubba.dtb
uImage

so I should replace the newly builded bzImage with the uImage, right?
What are the *.dtb files?
Best, Pali

ryz
Posts: 183
Joined: 12 Feb 2009, 06:03

Re: Running Debian lenny or squeeze on Bubba Two

Post by ryz » 01 Aug 2011, 11:01

Do NOT replace the uImage with the bzimage

paulchany
Posts: 123
Joined: 10 Jul 2009, 15:48
Location: Serbia
Contact:

Re: Running Debian lenny or squeeze on Bubba Two

Post by paulchany » 01 Aug 2011, 14:38

ryz wrote:Do NOT replace the uImage with the bzimage
OK
I realize that, that I must install first the following debian packages:
uboot-mkimage
uboot-envtools

After that I shall run:
make uImage
make modules
make modules_install
and shall copy uImage to the boot directory, right?

Should I use somehow the uboot-envtools?
To me the u-boot loader is a new thing, because I always use Grub boot loader on my Intel based hardware.
Best, Pali

Post Reply