Page 2 of 5 FirstFirst 1234 ... LastLast
Results 16 to 30 of 66

Thread: [HowTo] Getting started (Firmware upgr, Storage, Samba, SSH)

  1. #16
    I am very new to linux. I did not get the NFS thing to work. If I enable NFS Demo into the web interface I can see my files but I cannot read or write them.
    Now I did the things above but I cannot access the directory for postboot file. I have an ASUS 500g deluxe. My hdd is partitioned to 116gb FAT32 (one part) and it works for ftp.

    So in someones smb.cfg there is rshare in others fat32 , what is right?

    And how can I delete whole lines with vi?

    Can someone give me a detailed step-by-step description on how to get it done or what could be wrong on my side? (500gx)

    Thanks a lot
    Peter

  2. #17
    vi:

    I don't really know how to use vi but i know the absolute basics:
    press `a` to add text,
    go rightwards to the end of the line using the `right arrow`,
    use backspace to delete

    when finished press escape to stop editing text,
    then use `:` (shift + ;) to issue the command `w` and press return - this saves the file

    to exit use `:` (shift + ;) to issue the command `q` and press return - this quits vi


    another way is to upload the file with ftp

    NOT ALL VERSIONS OF THE FIRMWARE INCLUDE SMB

    Go to update firmware and tell me what version you're running
    Last edited by Antiloop; 20-05-2005 at 09:12. Reason: turned off smilies in this post

  3. #18
    It's 1.9.2.7-5a. And it's a Deluxe.

  4. #19
    can anyone else tell me if that's definiately Oleg firmware?

    read http://wl500g.info/showthread.php?t=1984

    Limited samba support
    Since 1.7.5.6-5 Samba 1.9.17p5 is included but, not enabled by default.
    Important notice: the samba is totally unsupported, use on your own risk!

    Small how-to:

    * Be sure you've specified hostname in the LAN IP Setting (this name will used be by samba)
    * add the following to your /usr/local/sbin/post-boot script):

    /usr/sbin/smbd -D
    /usr/sbin/nmbd -D

    Once you've rebooted your wl500g should appear in workgroup called WORKGROUP and present you a share named "share". This share is read-only view of your usb drive (/tmp/harddisk/). There is also second invisible share called "share$" which is in the fact the read/write view of /tmp/harddisk/. No other access restriction present.

    There are log files available for samba - /var/log/nmb and /var/log/smb, they could be examined if something does not work.
    from http://wl500g.dyndns.org/

  5. #20
    That's Oleg's alright.

    Should work - remember that after each upgrade you should use 'flashfs enable' again to get your samba settings back...

    Re: post-boot - read my post on the first page.

    Oh - and use 'dd' to delete a line in vi.

    Edit: Google is your friend - VI faq
    Last edited by Tuur; 26-05-2005 at 22:07.

  6. #21
    So u just make txt file and rename it to smb.conf, and ftp it to the root af the drive and that it???

    Quote Originally Posted by jago25_98
    You need to make your smb.conf file. Make sure you're using the lates custom oleg firmware too.

    You can make it with `vi` (good luck!) or upload it with ftp

    Here's what mine looks like:

    Code:
    [admin@censored root]$ cat /etc/smb.conf 
    [global]
    workgroup = WORKGROUP
    guest account = nobody
    security = share
    browseable = yes
    guest ok = yes
    guest only = no
    log level = 1
    max log size = 100
    encrypt passwords = yes
    dns proxy = no
                                                                                    
    [rshare]
    path=/tmp/harddisk
    writeable = yes
    browseable = yes
    force user = admin
    It says this in a guide somewhere so it sounds like you've missed that.

  7. #22
    Man i have follewede this guide to the letter... but when i get to this point:

    mkeswap /dev/scsi/host0/bus0/target0/lun0/part1
    swapon /dev/scsi/host0/bus0/target0/lub0/part1

    It gives this feedback:
    [jolly79@AJOLLYWIRELESS root]$ mkeswap /dev/scsi/host0/bus0/target0/lun0/part1
    -sh: mkeswap: not found
    [jolly79@AJOLLYWIRELESS root]$ swapon /dev/scsi/host0/bus0/target0/lub0/part1
    swapon: cannot stat /dev/scsi/host0/bus0/target0/lub0/part1: No such file or directory
    [jolly79@AJOLLYWIRELESS root]$ $ ls -l /usr/local/
    -sh: $: not found


    This is how it looks in fdisk when i type P:

    Command (m for help): p

    Disk /dev/scsi/host0/bus0/target0/lun0/disc: 81.9 GB, 81964302336 bytes
    255 heads, 63 sectors/track, 9964 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/scsi/host0/bus0/target0/lun0/part1 3890 7780 31254457+ 83 Linux
    /dev/scsi/host0/bus0/target0/lun0/part2 1 3889 31238361 5 Extended
    /dev/scsi/host0/bus0/target0/lun0/part5 1 3889 31238329+ 83 Linux

    Partition table entries are not in disk order

    Am i doing somthing wrong, my linux is really bad.... but i want the samba server to work.

  8. #23

    mkswap not mkeswap

    Hi

    The command is mkswap, not mkeswap.

    It IS a bit odd, considering that the command for making ext3 is mke2fs :-)
    macsat
    http://www.macsat.com - Tutorials and information on using ASUS WL-500G and family.

  9. #24
    So if i use this code:

    mkswap /dev/scsi/host0/bus0/target0/lun0/part1
    swapon /dev/scsi/host0/bus0/target0/lub0/part1

    Then i should work?? Like i said it followede the guide to the letter.




    Quote Originally Posted by macsat
    Hi

    The command is mkswap, not mkeswap.

    It IS a bit odd, considering that the command for making ext3 is mke2fs :-)

  10. #25
    Yes - I think that would do the trick :-)

    Well...the guy who made the guide must have made a little typo there, no one is 100% perfect :-)
    macsat
    http://www.macsat.com - Tutorials and information on using ASUS WL-500G and family.

  11. #26
    Do u know if i can use ftp and samba at the same time...

    I mean upload it by samba and download it by ftp??

    Will samba automatically register in "my computer" as a network drive?? or have i misunderstod the concept of samba

  12. #27

    no problem

    SAMBA and ftp can run at the same time, that is no problem at all.

    It will not automaticly show up, you will have to "search" for network places from your windows.
    macsat
    http://www.macsat.com - Tutorials and information on using ASUS WL-500G and family.

  13. #28
    Hey again..

    Having problems with the new code u gave me, check the log here:

    [jolly79@AJOLLYWIRELESS root]$ mkswap /dev/scsi/host0/bus0/target0/lun0/part1
    mkswap: warning: truncating swap area to 524284kB
    Setting up swapspace version 1, size = 536862720 bytes
    [jolly79@AJOLLYWIRELESS root]$ swapon /dev/scsi/host0/bus0/target0/lub0/part1
    swapon: cannot stat /dev/scsi/host0/bus0/target0/lub0/part1: No such file or directory
    [jolly79@AJOLLYWIRELESS root]$



    Quote Originally Posted by macsat
    Yes - I think that would do the trick :-)

    Well...the guy who made the guide must have made a little typo there, no one is 100% perfect :-)

  14. #29
    Sorry to bug u again...

    I got everything working on the samba and the ftp... i have have 2 partitons one callede ext3 and one callede fat32.

    When i put something on ext3 i also can se it on fat32, how can this be?? should it be on both, when i just uploaded to one of them??

    Quote Originally Posted by macsat
    SAMBA and ftp can run at the same time, that is no problem at all.

    It will not automaticly show up, you will have to "search" for network places from your windows.

  15. #30
    Here is how my smb.conf file looks, that should be ok right??
    But it´s like i only connect to one partion, since the the same files are on both shares.
    Pleas somebody help, im so close to getting this to work right.

    [global]
    workgroup = AJOLLYWIRELESS
    guest account = nobody
    security = share
    browseable = yes
    guest ok = yes
    guest only = no
    log level = 1
    max log size = 100
    encrypt passwords = yes
    preserve case = yes
    short preserve case = yes

    [fat32]
    path=/tmp/harddisk
    writeable = yes
    browseable = yes
    force user = jolly79
    [ext3]
    path=/tmp/harddisk/part1
    path=/tmp/harddisk
    writeable = yes
    browseable = yes
    force user = jolly79

Page 2 of 5 FirstFirst 1234 ... LastLast

Similar Threads

  1. Firmware upgrading HOWTO
    By Styno in forum WL-500g/WL-500gx Tutorials
    Replies: 6
    Last Post: 30-07-2008, 22:00
  2. Started with Custom 1.1.28. Need some help
    By fleppuhstein in forum WL-HDD Q&A
    Replies: 0
    Last Post: 04-04-2005, 22:01
  3. Samba in 1.9.2.7-4 firmware
    By viper_002 in forum WL-500g Q&A
    Replies: 7
    Last Post: 31-03-2005, 20:24
  4. RCAMD started 3 times ?
    By max2950 in forum WL-500g Q&A
    Replies: 0
    Last Post: 09-03-2005, 13:45
  5. Samba and Firmware 1.9.2.7-RC3
    By Arobs45 in forum WL-500g Q&A
    Replies: 29
    Last Post: 20-01-2005, 15:49

Posting Permissions

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