OK…this is another one of those things that I’m posting in case anyone else is trying to do this, and can’t find information on how to do so. After extensive Googling, it appears there was one German guy looking for an answer to this, but never received one.
What I was trying to do was install IPcop via PXE onto a SATA hard drive in a Soekris 5501, which is a PC in a very small form-factor. It is designed to act like a network device. Some of the things you expect in a PC are, however, not present. Like a video adapter.
The IPcop PXE install was a no-go, because there seemed to be no way to redirect the output of the install screens to the serial port (which is how you work with the system until you get networking going).
What I ended up doing was to plug in the hard drive in another machine. I installed IPcop, changed the network device type to via-rhine in /var/ipcop/ethernet/settings, changed the /dev/harddisk* links to point to /dev/hdb (which is where the hard drive shows up in one of these devices), and modified /boot/grub/grub.conf by commenting out the fancy stuff (colors, pixmap), adding terminal serial near the top, changing /dev/sda4 to /dev/hdb4 and adding console=ttyS0,57600 to each append line. Then, I just did grub-install --recheck /dev/hdb.
You should comment out the mingetty lines in /etc/inittab and add one like this:
S0:2345:respawn:/sbin/agetty 57600 ttyS0
if you want to have a login prompt on you serial console. This requires an agetty addon package. You can get it here: http://www.ipadd.de/binary.html.
That should be enough to get you up and running. After that, if you feel like it, you can clean up some of the scripts in /etc/rc.d to remove stuff that doesn’t work on the Soekris, like doing anything with /dev/tty1, /dev/tty2, etc., or outputting tones to the non-existent speaker.




5 users commented in " IPcop on a Soekris 5501 "
Follow-up comment rss or Leave a TrackbackHello,
i’m currently trying to install an ipcop in a soekris box 5501, on a flash card. And I have this problem to redirect grub to serial port.
The only way to reconfigure it is to plug my Falsh card to my computer ?
I tried to edit the ipcop. XXX.tgz source package but the install failed after that.
If anybody have an idea
Thanks for you input
Hi, I’m triying to install IpCop on a soekris 4801.
I installed it on a Desktop PC, but when try to modify
/boot/grub/grub.conf the file doesn’t exists.
Can you post or send me a image of the cf please.
Thanks for all!!
I don’t have a cf image…not sure if you were asking me or the other poster.
I would note that IPcop 1.9.8 is out now, so you may have better luck with that. I have set up a 1.9.7 machine, and it works pretty well, with one caveat: there was no support for ipsec yet. I don’t know if that is fixed in 1.9.8.
One nice thing about the 1.9.x series is that it has a CF mode, which reduces writes to your CF.
Hi Brian,
I am installing IPCOP in a soekris box 550 using a SATA 2.5″ hard Disk but i have problems with the Grub.conf
this are the error than i have in the ninicom :
fsck.ext3: No such device or address while trying to open /dev/harddisk4
Possibly non-existent or swap device?
Checking root filesystem: Failed
*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Give root password for maintenance
(or type Control-D to continue):
(Repair filesystem) 1 # cd /
(Repair filesystem) 2 # ls
bin dev home lost+found proc sbin tmp var
boot etc lib mnt root swapfile usr
(Repair filesystem) 3 #
————————————
How can i solve this issue ?
How did you change the /dev/harddisk* links to point to /dev/hdb ?
Thank you very much for your help
best regards
Daniel Guevara
Here is my fstab file :
# $Id: fstab,v 1.4 2004/03/01 17:23:47 alanh Exp $
#
/dev/harddisk1 /boot ext3 nodev,nosuid,noatime
1 2
/dev/harddisk2 /var/log ext3 nodev,nosuid,noatime
1 2
/dev/harddisk4 / ext3 noatime 1 1
none /proc proc defaults 0 0
none /dev/pts devpts gid=5,mode=620 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
Leave A Reply