macsat.com OpenWrt and ASUS WL Forum
January 08, 2009, 10:00:50 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?
Login with username, password and session length
News: Back to macsat.com
 
   Home   Help Search Login Register  
Pages: 1 [2] 3 4 ... 8   Go Down
  Print  
Author Topic: Modified image for MFB100  (Read 32939 times)
0 Members and 1 Guest are viewing this topic.
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #15 on: January 08, 2007, 20:00:28 PM »


I'm interested in what in OpenWrt is called:
kmod-soundcore
kmod-usb-audio

It is basically the OSS drivers for USB SoundCards.

Logged
niknak
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #16 on: January 08, 2007, 20:56:59 PM »

Hi macsat,

try this...


Niknak

* modules.tar.gz (24.5 KB - downloaded 229 times.)
Logged
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #17 on: January 09, 2007, 09:09:39 AM »

Hi NikNak

I just tried, but I am having a hard time seeing if they succeed or fail.

If /var/log/messages is the syslog, this device has a crappy syslog IMO. It is VERY sparse on information.

After a reboot, all I get in that file is :
Code:
DHCP mode: Auto mode
Tue Jan 9 08:07:50 2007,Current firmware version is R4.00b7 .

Jan  9 08:07:05 syslogd: syslogd cannot connect to remote host
Jan  9 08:07:05 syslogd: syslogd started
Jan  9 08:07:12 dhcpd: Listening on LAN 192.168.2.0
Jan  9 08:07:12 dhcp client: dhcp client started
Jan  9 08:07:12 dhcp client: Auto-Reconnect is enabled
Jan  9 08:07:13 monitor: BRIDGE is up and IP address is 192.168.2.10
Jan  9 08:07:14 dhcp client: BRIDGE is bound on 192.168.1.169
Jan  9 08:07:20 monitor: BRIDGE is up and IP address is 192.168.1.169
Jan  9 08:07:42 httpd: 192.168.1.5 logins successful

And loading thoose two modules and connecting the USB soundcard gives nothing more in the log.

This makes me think that not all syslog stuff ends up there !

A lsmod does give me this, however - making me think that they at least loaded...:-)

Code:
Module                  Size  Used by    Not tainted
audio                  39988   0 (unused)
soundcore               3076   2 [audio]
nfsd                   64552   0 (unused)
lockd                  43196   0 [nfsd]
sunrpc                 60640   0 [nfsd lockd]
rt2500sta             149032   2

« Last Edit: January 09, 2007, 09:15:06 AM by macsat » Logged
niknak
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #18 on: January 09, 2007, 09:52:42 AM »

Hi Macsat,

(IMHO) these two modules are the generice highlevel modules, for your soundcard to work you need the usb modules for this card. If you connect this card to a linux box i guess it will load another usb driver for it. If i will find some time tonight i will build all the usb modules and send you these.

 Niknak
Logged
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #19 on: January 09, 2007, 10:35:33 AM »


Thanks m8.

Still I find it odd that the syslog shows nothing when connecting an USB device.

Have you played a bit with performance with the SMC?

I havent really tested with real benchmarking, but it seems a lot faster than the Broadcom based devices like ASUS WL-500G Deluxe and so on...

Logged
tcc1000
Newbie
*
Offline Offline

Posts: 20


View Profile
« Reply #20 on: January 13, 2007, 22:33:38 PM »

Hi,

I'm trying to repeat the firmware build, but ran into a few problems. I'm using the CHD2WLANU_GPL_R400b7 (conceptronic) release. I did the following so far:

  • Got Fedora Core 4: I went for the VMware minimal
    install image from http://www.thoughtpolice.co.uk/vmware/
  • Installed extra rpms (yum install pkg):
    • gcc
    • openssl (probably not needed)
    • openssl-devel
    • texinfo
  • Created dummy file rcsclean somewhere in path, e.g. touch ~/bin/rcsclean
  • Followed GPL_instructions.txt
    • set path
    • make linuxall

However I've encountered a few problems:

/sbin/depmod.old was looked for because FC4 is a 2.6 kernel, image is
2.4. I symlinked this to /sbin/depmod, which runs through make, not idea if this does the correct thing

When executing mke2fs -F -v -m0 ./ext2img (from Makefile or command
line), I get
mke2fs: Permission denied while trying to determine filesystem size

Anyone got any ideas on how to get round these?

[I'm actually interested in using this to connect to a topfield PVR - I'm also likely to put my filing system on a USB stick rather than a disk because it's quieter]

Tim.
Logged
buddie
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #21 on: January 14, 2007, 00:55:39 AM »

I can't download MFB100v1.bin.  When I download it I get an empty file (0kb in size). Pls help
« Last Edit: January 14, 2007, 01:27:41 AM by buddie » Logged
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #22 on: January 14, 2007, 10:00:44 AM »

Try the link now, I have fixed it.

MGB100v1.zip
Logged
buddie
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #23 on: January 14, 2007, 13:22:37 PM »

Thanks. I have now downloaded MFB100v1.zip which contains upgrade.bin

1.   I have now uploaded this f/w to my Safecom SWSAPUR-5400 which previously had a safecom f/w R4.00b5 and it was successfull.

2.   Will openwrt work on this SWSAPUR-5400?

« Last Edit: January 15, 2007, 01:47:24 AM by buddie » Logged
pagano
Jr. Member
**
Offline Offline

Posts: 61


View Profile
« Reply #24 on: January 15, 2007, 16:29:49 PM »

For Tim Clap. Error:
mke2fs 1.37 (21-Mar-2005)
mke2fs: Permission denied while trying to determine filesystem size

edit /etc/selinux/config and change your policy from "enforcing" to "permissive",
then relabel the disk: touch /.autorelabel and reboot.


The symlink of DEPMOD to DEPMOD.OLD seems work. My firmware sucesfully.
Tanks for the instructions about fedora 4 minimal and vmware. It work's!!
BUILDED BUT NON FLASHED
My source is CHD2WLANU R400B7 from Conceptronics.
« Last Edit: January 15, 2007, 23:36:47 PM by pagano » Logged
pagano
Jr. Member
**
Offline Offline

Posts: 61


View Profile
« Reply #25 on: January 16, 2007, 04:21:10 AM »

Is posible to change /sbin/init like OpenWrt+USB BOOT ??
http://wiki.openwrt.org/UsbStorageHowto?%29#head-4d459de735f85dda1449558f134e95a50d94382a
Big filesystem  Grin Grin Grin

I have done tests with pivot_root (unknown error 127).
chroot and mount -o move proc works ok.

Code:
#!/bin/sh
# change this to your boot partition
boot_dev="/dev/hda1"

# mount the usb stick
mount "$boot_dev" /mnt

# if everything looks ok, do the pivot root
[ -x /mnt/sbin/init ] && {
        mount -o move /proc /mnt/proc && \
        pivot_root /mnt /mnt/mnt && {
                mount -o move /mnt/dev /dev
                mount -o move /mnt/tmp /tmp
        }
}

# finally, run the real init (from HD hopefully).
exec /bin/busybox init

My busybox has editor  Tongue
Logged
tcc1000
Newbie
*
Offline Offline

Posts: 20


View Profile
« Reply #26 on: January 16, 2007, 23:25:56 PM »

Thanks Pagano - I'd not come across SELinux before. It all builds fine now, although I do remember something about not having amit_ftpd - I will check.

Tim.
Logged
pagano
Jr. Member
**
Offline Offline

Posts: 61


View Profile
« Reply #27 on: January 18, 2007, 11:12:28 AM »

=== Recovery mode done ===  Tested and OK  Roll Eyes
1) Download (and unzip into a root directory like C:\> ) appropriate firmware binary file .BIN
   for the target firmware version that you want.
2) go to DOS command prompt in W2K
3) type the following into the command prompt (do NOT press enter yet):
4) TFTP -i 192.168.123.254 PUT filename.BIN 192.168.123.254
5) Put the HD-WLAN into crash recovery mode
---- SwitchOff - unplug
---- Press the two buttons at once and holding buttons switch on - plug.
6) Once the M1 and M2 lights are blinking 8 times per second continuously,
   press enter to execute the TFTP command above
7) Once the file transfer is successfully completed, unplug the HD-WLAN for 10 seconds and plug it back in.

Work with original firmware. (example: R400b7.BIN)
--- --- ---
Edited: Added two files for the next post. (limit 5mb)

* commands.zip (434.36 KB - downloaded 302 times.)
* upgrade.img.gz (3429.12 KB - downloaded 1922 times.)
* KernelModules.tar.gz (358.69 KB - downloaded 244 times.)
« Last Edit: January 20, 2007, 03:19:47 AM by pagano » Logged
pagano
Jr. Member
**
Offline Offline

Posts: 61


View Profile
« Reply #28 on: January 20, 2007, 03:15:18 AM »

Filesystem in USB with MFB100 V2 (easy to modify in the desktop)
- File with modules not included in image (for install in the USB)
- Telnet server.
- Busybox with TAB and line editor.
- VI editor and some tools more.
- The AT Keyboard is yet there.  Undecided

1) Decompress UsbFS.tar.gz in a USB pen with first EXT2 partition (SDA1)
tar -xzf UsbFS.tar.gz
2) Flash 'upgrade.bin'
3) Reboot.

Root Password is: aaaaa (i think passwd file is created at boot from your NVRAM)  Huh
Next: Test native compiling http://www.uclibc.org/downloads/root_fs_i386.ext2.bz2

Attach: USB Filesystem.    Firmware and kernel modules in the === Recovery mode === post

* UsbFS.tar.gz (2404.1 KB - downloaded 704 times.)
Logged
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #29 on: January 20, 2007, 10:41:13 AM »


I really do appriciate your work here m8.

It is not that Im not interested in the stuff that I dont comment on it, I simply dont have time playing with it right now.

As soon as I get a bit of time I will take a look at the files you posted :-)

Please keep up the good work Smiley
Logged
Pages: 1 [2] 3 4 ... 8   Go Up
  Print  
 
Jump to:  

English Steel 1.6 © Saxon North Technologies
Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.119 seconds with 24 queries.