 maziloFrom MaziloPremium join:2002-05-30 Lilburn, GA kudos:1 2 edits | reply to mazilo
Re: [Other] Own a FreeSwitch on a Seagate DockStar for $24.99 I have attached a newly built OpenWRT SVN firmware for a Seagate DockStar below. I have removed the 1st patch (to create a rootfs_data MTD partition) from here. This patch seemed to have cause the external USB partition mounted as RO. So, any further changes to the filesystem will only happen in the RAM space and won't sustain a reboot. The 2nd patch on the same link is for the LED. If you want your LED to blink when there is net activities, the follow the instructions here to configure the LED.
[UPDATE: 07/15/2010]: I just reloaded with a newly built OpenWRT SVN firmware for a Seagate DockStar device in two formats, i.e. a tarball file and an image file created using dd if=/dev/sda1 of=openwrt-kirkwood-rootfs.img bs=1M count=111 (then compressed).This firmware includes Apache server, Samba, and OpenWRT GUI. The LED can be configured through GUI, too. I also attached the config.kirkwood (for OpenWRT) and config-default (for Linux kernel) files in case you want to know what packages/applications and/or kernel modules are compiled into the kernel.
 openwrt-kirk···.tar.bz2 44770411 bytes
 openwrt-kirk···.img.bz2 95349751 bytes OpenWRT SVN firmware for DockStar in an image format
 config.kirkwood 19168 bytes .config file for OpenWRT (config.kirkwood.zip)
 config-default 1756 bytes config-default file for Linux kernel (config-default.zip) To use the above image firmware compressed file, it needs to be decompressed first. Once it is decompressed, use dd if=openwrt-kirkwood-rootfs.img of=/dev/sda1 bs=1M where /dev/sda1 is your external USB disc. If you go with this approach, there is no need to create a partition on a USB memory stick nor to format it. However, I don't know if this image will work (I haven't tested it, yet).
Below is some snapshots of the GUI menu pages on my Seagate DockStar device running with the above firmware.
 LuCI Login Menu
 LED Configuration - LuCI
-- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. |
|
 | reply to mazilo said by mazilo:Right now, I am recompiling the whole firmware. I will test it before I re-upload. So, please kindly bear with me. Take your time. Much rather have it done right, than "fast".
BTW: Any chance of including SAMBA and a web server in the build (if you haven't already included them in the build, that is)? I don't think either are especially piggish of "disk space", so you should be able to easily fit them on the same cheap USB flash drive with the other software. And just because they are included on disk, doesn't mean that someone (who doesn't want/need these features) would have to have them launch at bootup time.
NOTE: In a previous note I think you said you were (at the time) only using 100meg for the Linux. Since it's actually getting hard to get flash drives less than 1 gig in size (»www.crucial.com/store/refurb.aspx is currently selling "refurbished" 1 gig USB drives for only $5.99 with free shipping), that leaves a lot of room for expansion. So it shouldn't hurt anything to "waste a few meg" to install some potentially useful programs that not everyone would use/run.
And for the IP-PBX project SAMBA could potentially give us another way to access the disk (configuration), without having to do everything via SSH. I know I personally find it handy to just "map a network drive" from Windows (even when I'm working on a Linux target system), and then copy/delete/etc the files I need to move around.
And even though you were thinking of this just as a IP-PBX, I think the same hardware (combined with a large USB disk drive) would be very handy as a low end NAS for the LAN (and likely much cheaper than most of the alternatives on the market). And for a home NAS, both SAMBA and a web server would be very handy. Because with that combination you could setup an attached USB disk as a "file share" for your LAN (via SAMBA), as well as use the "web server" to make those same files available to LAN devices that only understand http (for example, my ROKU video/audio players on my LAN).
NOTE: Ideally it would be great if both the IP-PBX and the NAS could run from the same device. Given the USB ports, storage shouldn't be a problem for such "multi-tasking", but I'm unsure if the device has enough CPU and memory for the task. But even if not, having both functions in the Linux build would allow a user to choose which they wanted (without having to reflash the device to change your mind). And especially for someone (such as myself) which has more than one of these devices on order, it would be really nice... |
|
 jjoshuaPremium join:2001-06-01 Scotch Plains, NJ kudos:1 | Do you have a linux box? Your best bet would be to build openwrt from scratch - then you will be able to add whatever you want.
Having said that, I'm still doing this for the first time. mazilo has provided some very simple instructions and the config files to get you started. |
|
 n1zukBreak out the checkbookPremium join:2001-10-24 Malta kudos:2 | reply to DracoFelis said by DracoFelis:said by mazilo:Right now, I am recompiling the whole firmware. I will test it before I re-upload. So, please kindly bear with me. NOTE: In a previous note I think you said you were (at the time) only using 100meg for the Linux. Since it's actually getting hard to get flash drives less than 1 gig in size (» www.crucial.com/store/refurb.aspx is currently selling "refurbished" 1 gig USB drives for only $5.99 with free shipping), that leaves a lot of room for expansion. So it shouldn't hurt anything to "waste a few meg" to install some potentially useful programs that not everyone would use/run. That's how so many (once good) applications have become "Bloatware". 
I remember trying to write (machine) code that fit in a few kilobytes of ROM...  -- New to Forum Life? Click here and learn. |
|
 3 edits | reply to jjoshua Pls keep us posted. A lot more people are interested in NAS and USB device support with DockStar running OpenWRT. You can also post your results in a separate topic on Seagate DockStar NAS Support. I also wanted to thank mazilo for the hint on this device and good work! Still waiting for this gadget, its in the mail.  |
|
 MartyT join:2004-09-03 Georgetown, SC | reply to mazilo just got mine in the mail. it sure is a teenie tiny little device. amazing power for such a small unit. |
|
 maziloFrom MaziloPremium join:2002-05-30 Lilburn, GA kudos:1 | said by MartyT:just got mine in the mail. it sure is a teenie tiny little device. amazing power for such a small unit. I am glad you got yours. Not only this small sucker is powerful, but also inexpensive! If you find a good USB WiFi dongle that is supported under Linux with GPLed driver, I am sure you can turn this little sucker into an Internet Radio, too. -- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. |
|
 MartyT join:2004-09-03 Georgetown, SC | I think an Internet radio would be a waste of processing power for this unit. Not sure what it will be used for, but I'm following your progress. |
|
 usa2kBlessedPremium,MVM join:2003-01-26 Canton, MI kudos:3 Reviews:
·VOIPo
·WOW Internet and..
| It arrived early! 

|
|
|
|
 gbh2o join:2000-12-18 Greenville, NC | Looks just like the one I received!  |
|
 usa2kBlessedPremium,MVM join:2003-01-26 Canton, MI kudos:3 | Now I have to do my homework on it!! |
|
 | reply to mazilo Thank you Mazilo.
I already ordered 2 dockstar from Buy. |
|
 maziloFrom MaziloPremium join:2002-05-30 Lilburn, GA kudos:1 | reply to mazilo I just uploaded a newly built OpenWRT firmware for a Seagate DockStar device in two formats as shown on my post above. As of this writing, my Seagate DockStar device is running with this firmware. So far, I have configured it with a free CallCentric IP Freedom account using the SIP Provider Examples for FreeSwitch.
Please remember, the firmware I provided here is compiled from OpenWRT Development branch/source. AFAIC, Development means to use it at your own risk. If you don't want to risk your device, you can always compile your own OpenWRT from BackFire (released version) branch/source using the configuration files I provided or even create your own from the default settings. -- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. |
|
 2 edits | reply to mazilo dumb noob question, how do i download these files from within the Dockstar?
I tried the following "wget http: // www.dslreports.com/r0/download/1563164~91e6f381edc7f0e1b008b7505bb8d575/openwrt-kirkwood-rootfs.img.bz2"
but it does not work |
|
 maziloFrom MaziloPremium join:2002-05-30 Lilburn, GA kudos:1 | said by Springbok:dumb noob question, how do i download these files from within the Dockstar? To download an attachment from DSLR forum, I believe your device needs to be able to login into the forum first. -- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. |
|
 | reply to mazilo That's an interesting idea about the radio, if you can explain it a bit for not familiar. |
|
 lukami join:2010-07-10 San Francisco, CA | reply to mazilo
Mazilo,
I've just tried your latest firmware and still get Kernel panic. Enclosed is the serial console log.
Any idea why this is happening? I can load Plugbox Linux without any problem so U-Boot must be properly patched. |
|
 maziloFrom MaziloPremium join:2002-05-30 Lilburn, GA kudos:1 | said by lukami:I've just tried your latest firmware and still get Kernel panic. Enclosed is the serial console log. From your log.txt file and I excerpted a few lines from the bottom up here for clarification purposes, it looks like something is wrong with your external USB partition, i.e. a non-supported filesystem(?). I only included ext2/ext3/ext4 filesystems built into the Linux kernel. Also, make sure you first use fdisk utility to create at least a partition (preferably 2 partitions, i.e. sda1 (for ext3 filesystem) and sda2 (256MB for a swap space), before you use the mkfs.ext3 utility to format the sda1 partition with an ext3 filesystem.
Waiting 10sec before mounting root device...
scsi 0:0:0:0: Direct-Access Generic USB Flash Disk 7.76 PQ: 0 ANSI: 2
sd 0:0:0:0: [sda] Attached SCSI removable disk
VFS: Cannot open root device "sda1" or unknown-block(8,1)
Please append a correct "root=" boot option; here are the available partitions:
1f00 1024 mtdblock0 (driver?)
1f01 4096 mtdblock1 (driver?)
1f02 257024 mtdblock2 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1)
If you use the dd approach that I haven't tested it yet, try the other approach (using the tarball file) to prepare your external USB partition.
-- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. |
|
 maziloFrom MaziloPremium join:2002-05-30 Lilburn, GA kudos:1 | reply to zamarac said by zamarac:That's an interesting idea about the radio, if you can explain it a bit for not familiar. I reckon what I meant on my previous post is a Linux supported USB radio (not WiFi) dongle. -- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. |
|
 | reply to n1zuk said by n1zuk:said by DracoFelis:Since it's actually getting hard to get flash drives less than 1 gig in size (» www.crucial.com/store/refurb.aspx is currently selling "refurbished" 1 gig USB drives for only $5.99 with free shipping), that leaves a lot of room for expansion. So it shouldn't hurt anything to "waste a few meg" to install some potentially useful programs that not everyone would use/run. That's how so many (once good) applications have become "Bloatware".  Maybe. However, the fact remains that USB sticks have gotten much bigger than 100meg. As I said in my note, you actually have to hunt a bit to find a stick less than 1 gig in size, and even those sticks are pretty cheap.
said by n1zuk:I remember trying to write (machine) code that fit in a few kilobytes of ROM... If we want to date ourselves, I could point out that my first computer (a Timex Sinclair 1000) only had 2K or RAM. And for that matter, I even remember keying into the debugger a useful (it speeded up the computer by playing with a hardware timer setting) 8 byte (not 8K, the program really was only 8 bytes long) MS-DOS program. So yes, I understand how you can trim things to the "essentials", in order to keep space down.
However, this isn't the 1970's, and technology has moved on. If the smallest "disk" (in this case USB flash drive) you are planning to put things on is much bigger than your planned "essentials", than what do you have to lose by also including "optional modules" (that don't have to be run when you don't want/need those features) in the remaining space? I would personally rather have optional modules (that I can turn on or off as I see fit), than just plain unused space on the flash drive.
By putting optional modules on the "free disk" (but only in RAM and CPU if/when someone currently desires those features) you gain flexibility in use. Because in that case it usually is a minor switch (editing your cron list, for example) to turn on/off optional features. However, it often is much more work to download/install/configure things if you only include the "bare essentials" on your storage device. Yes, you may "waste" a little "disk" (flash drive space) doing so, but if you have the leftover "disk" anyway it's probably less of a "waste" than just leaving that disk space totally unused. |
|