Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 31

Thread: Status of IDE support in WL 500 Gx firmware?

  1. #16
    should I expect fdisk to work? Even if it looks like it works, I don't get any change done:

    here is a sample:

    Code:
    [admin@(none) /bin]$ fdisk /dev/hda
    
    Command (m for help): p
    
    Disk /dev/hda: 5403 MB, 5403525120 bytes
    240 heads, 63 sectors/track, 698 cylinders
    Units = cylinders of 15120 * 512 = 7741440 bytes
    
       Device Boot    Start       End    Blocks   Id  System
    /dev/hda1               1         698     5276848+  83  Linux
    
    Command (m for help): d 1
    Selected partition 1
    
    Command (m for help): p
    
    Disk /dev/hda: 5403 MB, 5403525120 bytes
    240 heads, 63 sectors/track, 698 cylinders
    Units = cylinders of 15120 * 512 = 7741440 bytes
    
       Device Boot    Start       End    Blocks   Id  System
    
    Command (m for help): w
    The partition table has been altered!
    
    Calling ioctl() to re-read partition table.
    Syncing disks.
    [admin@(none) /bin]$ fdisk /dev/hda
    
    Command (m for help): p
    
    Disk /dev/hda: 5403 MB, 5403525120 bytes
    240 heads, 63 sectors/track, 698 cylinders
    Units = cylinders of 15120 * 512 = 7741440 bytes
    
       Device Boot    Start       End    Blocks   Id  System
    /dev/hda1               1         698     5276848+  83  Linux
    
    Command (m for help):
    Is it a normal behaviour, or does this mean there is still not full access to IDE?

  2. #17
    Quote Originally Posted by Oleg
    It's just a waste of the flash space. I think ASUS will switch to ext3.


    Should work out of the box. Probably settings problem.
    I was thinking about asus users that don't have access to their HD without the wl-hdd. This ones will have to use dedicated format tools or to have ext2 support as this is the only type you can get using the web interface or the telnet access. As you planned to add tools to format in ext3, this should be solved by the next version.


    As for the wireless, going to router mode then back to AP mode make it works. There should be a parameter that is not set by default

  3. #18
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    no, either busybox was not correctly rebuild or fdisk is buggy.
    Try wl500g.dyndns.org/WLHDD-1.8.1.7-3-pre15.trx - I've recompiled busybox and added mke2fs and e2fsck.
    To create ext3 fs just type
    Code:
    mke2fs -j /dev/ide/...

  4. #19
    faliing at journal creation:

    Code:
    [admin@wl-hdd /]$ mke2fs -j /dev/ide/host0/bus0/target0/lun0/part1
    mke2fs 1.35 (28-Feb-2004)
    ext2fs_check_if_mount: No such file or directory while determining whether /dev/
    ide/host0/bus0/target0/lun0/part1 is mounted.
    Filesystem label=
    OS type: Linux
    Block size=4096 (log=2)
    Fragment size=4096 (log=2)
    659936 inodes, 1319212 blocks
    65960 blocks (5.00%) reserved for the super user
    First data block=0
    41 block groups
    32768 blocks per group, 32768 fragments per group
    16096 inodes per group
    Superblock backups stored on blocks:
            32768, 98304, 163840, 229376, 294912, 819200, 884736
    
    Writing inode tables: done
    Creating journal (8192 blocks): mke2fs: No such file or directory
            while trying to create journal
    [admin@wl-hdd /]$ mount /dev/ide/host0/bus0/target0/lun0/part1 /tmp/harddisk
    mount: Mounting /dev/ide/host0/bus0/target0/lun0/part1 on /tmp/harddisk failed:
    Invalid argument
    [admin@wl-hdd /]$
    Works without journaling. I still have to find the proper mount command
    Last edited by hugo; 11-11-2004 at 20:08.

  5. #20
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Try creating with journal size of zero, I will check for this error.

  6. #21
    Got it. Had to create 2 partitions, create a journal using the -O journal_dev paramter, then make the fs using the -J device=/dev/hda2

    Mount is ok. I can start working now

  7. #22
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Uploaded pre16 - please check it, should work with -j

  8. #23
    working ok. We just need to automont HD now. I've been testing copy and file operations, and it is behaving correctly. Wireless is ok too. Samba is awfully buggy and slow and there is no way to access the HDD out of the box. But it's just a question of time now

    EDIT: This comment is for pre15, as I could finaly get my fs created.

    I'm trying the pre16 right now
    Last edited by hugo; 11-11-2004 at 21:15.

  9. #24
    pre16 can format using the -j option as planned

  10. #25
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Well, for now mount your disk in the post-boot script, this is really easy.

    As for samba - you need create correct config files for using it. Also, you should set LAN hostname for samba to work. And yes, samba is now uses users/passwords.

    Mine files are as following:
    Code:
    [root@wl500g etc]$ cat /etc/passwd
    root:$1$$LMuXuAPfSStW8rhnojbc41:0:0:root:/usr/local/root:/bin/sh
    nobody:x:99:99:nobody:/:/sbin/nologin
    oleg:x:100:100:oleg:/tmp/harddisk:/sbin/nologin
    nk:x:100:100:nk:/tmp/harddisk:/sbin/nologin
     
    [root@wl500g etc]$ cat /etc/smbpasswd
    # Samba SMB password file
    root:0:6F9F65B23B4B48E7613E8293942509F0:7741DF71C748ABCC71C6C263B99C2B08:root:/usr/local/root:/bin/sh
    oleg:100:9EE3D0611811EA5C417EAF50CEAC29C3:F3AC46A6CB04CB32FE1C77A025CF6C53:oleg:/tmp/harddisk:/sbin/nologin
    nk:100:8A5D3EB54FF11B0DB79AE2610DF89D4C:9FDB1AFF3084809671715D8AE948AA35:nk:/tmp/harddisk:/sbin/nologin
    [root@wl500g etc]$ cat /etc/smbusers
    root = administrator
    [root@wl500g etc]$ cat /etc/smb.conf
    [global]
            workgroup = WORKGROUP
            guest account = nobody
            security = user
            encrypt passwords = yes
            log level = 1
            max log size = 100
            username map = /etc/smbusers
            client code page = 866
            character set = 1251
    [share]
            path = /tmp/harddisk
            writable = yes
    [root$]
            path = /
            writable = yes
    [root@wl500g etc]$

  11. #26
    Join Date
    Nov 2003
    Location
    Eindhoven
    Posts
    2,407
    Quote Originally Posted by hugo
    As for the wireless, going to router mode then back to AP mode make it works. There should be a parameter that is not set by default
    wireless works here after restoring defaults via the button out of box..

    My little Asus Collection: Too much to fit inhere, my 2 babies:WL500w 1.9.2.7-10(OLEG) VX2SE Yellow Lamborghini notebook



    WL500g Forum Asus Files OpenDir

    Asusforum.NL -- Asusforum.DE -- Asusforum.RU -- Asusforum.PL -- Asusforum.NET -- Asusforum.EU -- Asusforum.BE -- Asusforum.ES -- Asusforum.INFO

  12. #27
    Join Date
    Nov 2003
    Location
    Eindhoven
    Posts
    2,407
    ehmz..

    well mounting goes out of box..?
    at this moment i'm too lazy to get out of my bed to unplug the usbstick that i've sticked in.. maybe the usb stick is causing the auto-mount of both devices:

    [admin@WLHDD root]$ mount
    /dev/root on / type squashfs (ro)
    none on /dev type devfs (rw)
    proc on /proc type proc (rw)
    ramfs on /tmp type ramfs (rw)
    usbfs on /proc/bus/usb type usbfs (rw)
    /dev/discs/disc0/part1 on /tmp/harddisk type ext3 (rw,noatime)
    /dev/discs/disc1/part1 on /tmp/harddisk/part1 type vfat (rw,sync)
    i've found an error, when using DHCP (as client thus in AP mode) /etc/hosts uses 192.168.1.1 as ip_address and thus NMBD thinks it's that IP..
    when setting it static, it works around the problem

    at this moment i can't write when using samba.. have to look further..
    i will also try ftp..

    My little Asus Collection: Too much to fit inhere, my 2 babies:WL500w 1.9.2.7-10(OLEG) VX2SE Yellow Lamborghini notebook



    WL500g Forum Asus Files OpenDir

    Asusforum.NL -- Asusforum.DE -- Asusforum.RU -- Asusforum.PL -- Asusforum.NET -- Asusforum.EU -- Asusforum.BE -- Asusforum.ES -- Asusforum.INFO

  13. #28
    Join Date
    Nov 2003
    Location
    Eindhoven
    Posts
    2,407
    writing speed sux..
    Transfer queue completed
    Transferred 1 file totaling 1,66 MB in 20,94 (83,83 KBps)

    downloading went fast.. (700kb/sec) so i'm uploading 15mb now to measure it a bit more effectivily

    ps.. currently i'm doing everything wireless (using wireless from wl-hdd)

    My little Asus Collection: Too much to fit inhere, my 2 babies:WL500w 1.9.2.7-10(OLEG) VX2SE Yellow Lamborghini notebook



    WL500g Forum Asus Files OpenDir

    Asusforum.NL -- Asusforum.DE -- Asusforum.RU -- Asusforum.PL -- Asusforum.NET -- Asusforum.EU -- Asusforum.BE -- Asusforum.ES -- Asusforum.INFO

  14. #29
    Join Date
    Nov 2003
    Location
    Eindhoven
    Posts
    2,407
    150 Opening BINARY mode data connection for 'test' (52342784 bytes).
    226 Transfer complete.
    Transferred: test 49,92 MB in 38,99 (1.311,17 KBps)
    Transfer queue completed
    Transferred 1 file totaling 49,92 MB in 40,59 (1.311,17 KBps)
    ... :S

    tested with wire..

    My little Asus Collection: Too much to fit inhere, my 2 babies:WL500w 1.9.2.7-10(OLEG) VX2SE Yellow Lamborghini notebook



    WL500g Forum Asus Files OpenDir

    Asusforum.NL -- Asusforum.DE -- Asusforum.RU -- Asusforum.PL -- Asusforum.NET -- Asusforum.EU -- Asusforum.BE -- Asusforum.ES -- Asusforum.INFO

  15. #30
    Quote Originally Posted by Antiloop
    ehmz..

    well mounting goes out of box..?
    at this moment i'm too lazy to get out of my bed to unplug the usbstick that i've sticked in.. maybe the usb stick is causing the auto-mount of both devices:

    That's it: Automount only work with an USB stick inserted. Otherwise, you have to mount manually

    I've added the correct parameters in post boot to sort this out

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Telstra BigPond Heartbeat support added to Oleg's firmware
    By rwhitby in forum WL-500g Custom Development
    Replies: 8
    Last Post: 30-10-2004, 14:14
  2. Development status of customized 1.8.x.x firmware ?!?
    By Tbone in forum WL-500g Custom Development
    Replies: 11
    Last Post: 28-10-2004, 00:12
  3. Status log & DHCP
    By oberlegy in forum WL-500g Q&A
    Replies: 1
    Last Post: 08-07-2004, 16:40
  4. Status Log info
    By Pandabeer in forum WL-500g Q&A
    Replies: 0
    Last Post: 02-05-2004, 19:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •