• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1]
1  General Category / Success stories / Re: firewall on: July 21, 2009, 06:29:17 PM
Kumar,

   I'm out of town and away from my computer for a week or so, but i will be happy to put that together when I return.
2  General Category / Success stories / firewall on: June 29, 2009, 06:08:58 PM
I setup my SheevaPlug to act as a firewall between my Motorola Surfboard cable modem and my local ethernet.  I cross-compiled the 2.6.30 kernel using info from this wiki:

http://www.computingplugs.com/index.php/Building_a_custom_kernel

and added usbnet, cdc_ether, rndis_host and rndis_wlan modules.

Also used apt-get to install iptables and ipmasq (plus traceroute to aid in debugging.)  The usb interface now shows up as eth1 and can configured just as any ethernet interface.  I'm a Slackware guy and this is my first exposure to Ubuntu/Debian, so I spent some time learning how to configure the interfaces, but the whole project was pretty straightforward.  This system has now replaced my big, loud, hot (but cheap) Pentium 120 firewall. 

I'd prefer to run Slackware from a usb drive (and have done that, thanks to mozes) and connect to the modem via usb at the same time, but can't seem to find a hub that works with the plug.

I can post the details somewhere if there is any interest.
3  Linux Stuff / Kernel / Re: 2.6.30-rc8 new release on: June 08, 2009, 07:31:10 PM
I downloaded the README and executed the file.  No problem downloading or extracting the kernel, buth the flash fails with:

 flash_eraseall: /dev/mtd1: Permission denied

I've been running slackware from a  usb drive, so have mucked with some of the boot parameters.  As far as I can tell, they are back to the default values now, but apparently I can't write to /dev/mtd1.

Any idea what I've done wrong?

Thanks.
4  Linux Stuff / Linux distributions / Re: Slackware now available for the SheevaPlug on: May 31, 2009, 09:04:55 AM
mozes,

  You're right.  I took the setup default (ext4) for sda1 rather than ext2.  I changed the partition type and everything is working great!  Now if I can find a usb hub that works....

  Thanks for the help.

                       Jim
5  Linux Stuff / Linux distributions / Re: Slackware now available for the SheevaPlug on: May 30, 2009, 04:05:36 PM
mozes,

  Thanks for the work and the excellent instructions.  I have slackware running on my plug now, but I can only boot over the network - not from my usb drive.  Here's what I see when trying to boot from the drive:

[
Code:
Hit any key to stop autoboot:  0                                               
(Re)start USB...                                                               
USB:   scanning bus for devices... 2 USB Device(s) found                       
       scanning bus for storage devices... 1 Storage Device(s) found           
 ** ext2fs_devread() read outside partition sector 386580                       
                                                                               
** Unable to read "/uinitrd-kirkwood" from usb 0:1 **                           
 ** ext2fs_devread() read outside partition sector 255508                       
                                                                               
** Unable to read "/uImage-kirkwood" from usb 0:1 **                           
## Booting image at 00400000 ...                                               
Bad Magic Number 

Any idea what I might have done wrong?

                                        Thanks,
                                           Jim
6  General Category / General Discussion / ethernet over usb on: May 26, 2009, 06:39:16 PM
Has anyone tried to run ethernet over the usb port?  When I try connecting to my Motorola Surfboard cable modem via usb with my Slackware box, the modules usbnet, cdc_ether, rndis_host, and rndis_wlan show up and the device is seen as eth1.  I realize that the Sheeva Plug does not use modules, but these objects seem to be included in the kernel (Sources/linux-2.6.22.18).  But on the Sheeva Plug, all I get are these lines in /var/log/messages:

May 26 16:44:52 sheeva kernel: usb 1-1: new full speed USB device using ehci_marvell and address 2
May 26 16:44:52 sheeva kernel: usb 1-1: no configuration chosen from 1 choice

Am I missing something in the kernel or in the Ubuntu distribution?

                                                        Thanks,
                                                            Jim
Pages: [1]