Page 14 of 64 FirstFirst ... 4121314151624 ... LastLast
Results 196 to 210 of 958

Thread: [HowTo] Install and configure Oleg's firmware

  1. #196
    Join Date
    Mar 2008
    Location
    Sibiu
    Posts
    7
    Thank you wengi, for this nice [How To]!
    I have wl500gp and I followed your tutorial and everything works with firmware 1.9.2.7-8.

    I have two questions for you:
    1) please tell me the steps that I must follow, when I want to take off the hdd from router? I ask you this because with samba I transfer with 1MB/s and I had install a program ext2ifs on my computer. The problem is when I connect the hdd to the computer and I want to access the third partition I get a error: "The disk is not formated! Do you want to format?" and this error apears because I don't disconnect corect the hard from router. I have tried with the eject button from web interface and with the comand "halt" but it doesn't work!
    2) if I do step 15. Optimize performance from your [How To], how I start/stop samba with xinetd? It is a command?

    Thanks and sorry for my english.

    All the best for you!
    Last edited by copilul_mit; 15-04-2008 at 15:54.

  2. #197

    Samba2 doesn't start

    hello,

    i did this as said in tutorial

    ipkg install xinetd
    ipkg install samba2

    Edited the conf of xinetd:

    Save... reboot...

    but after reboot samba is not running

    only executing /opt/etc/init.d/S80samba i can see it in ps axf

    what is wrong?

    thanx in advence

  3. #198
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    Hi copilul_mit & Egres,

    i think your questions are nearly the same.

    After a boot you have to be sure that xinetd is running!
    You will NOT find an *mbd in the output of ps.

    If xinetd is running and configured like my howto it will start this services if a computer tries to access the configured tcp/udp ports.

    You will find smbd and nmbd after accessing samba from the network.
    There is a misconfig if the services do not start.

    For the usb-hdd question: You should unmount and mount readonly befor detaching:
    mount -oremount,ro /mountpoint

    There are also other solutions in the forum. Search.

    wengi
    Übersicht aller HowTos --- HowTo Overview (mostly german)
    WL-HDD mit diesem Setup. --- WL-HDD with this setup.
    Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
    Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)

  4. #199
    Hi wengi,
    thank you for reply and nice tutorial

    my problem is that xinetd is not starting on boot i can start it manual by
    /opt/etc/init.d/S10xinetd then i can acces swat but still have to start samba
    in web interface coz it doesn't auto strat

    i'm usin 2 drives first is a flash-usb on which i have swap and /opt and
    usb-hdd for /tmp/harddisk

    i really dont know what the problem is, here are some configs hope it can help to find what's wrong


    [admin@ASUS root]$ free
    total used free shared buffers
    Mem: 30116 12656 17460 0 2040
    Swap: 501880 0 501880
    Total: 531996 12656 519340

    [admin@ASUS root]$ df
    Filesystem 1k-blocks Used Available Use% Mounted on
    /dev/root 2880 2880 0 100% /
    /dev/discs/disc0/part2 1447472 94028 1279916 7% /opt
    /dev/discs/disc1/part1 7700668 1464992 5844496 20% /tmp/harddisk

    [admin@ASUS root]$ ps
    PID Uid VmSize Stat Command
    1 admin 564 S /sbin/init
    2 admin SW [keventd]
    3 admin SWN [ksoftirqd_CPU0]
    4 admin SW [kswapd]
    5 admin SW [bdflush]
    6 admin SW [kupdated]
    7 admin SW [mtdblockd]
    63 admin 308 S telnetd
    68 admin 376 S httpd
    70 admin 500 S nas /tmp/nas.lan.conf /tmp/nas.lan.pid lan
    72 admin 400 S syslogd -m 0 -O /tmp/syslog.log -S -l 7
    73 admin 368 S klogd
    74 admin SW [khubd]
    83 admin 276 S lpd
    85 admin 260 S p9100d -f /dev/usb/lp0 0
    89 admin 340 S waveservermain
    91 admin 320 S infosvr br0
    92 admin 468 S watchdog
    93 admin 340 S ntp
    101 admin 480 S dropbear
    106 admin SW [usb-storage-0]
    107 admin SW [scsi_eh_0]
    108 admin SW [usb-storage-1]
    109 admin SW [scsi_eh_1]
    112 admin SW [kjournald]
    118 admin 500 S /bin/sh /usr/local/sbin/scsi-stop.sh /dev/scsi/host1/bus0
    131 admin SW [kjournald]
    136 admin 748 S dropbear
    144 admin 556 S -sh
    314 admin 276 S /bin/sleep 30
    315 admin 404 R ps


    and my post-boot


    #!/bin/sh
    dropbear

    # test if USB disc has been attached
    # if not - then insert needed modules
    #
    # uncoment the following 4 lines if using an USB HDD.
    if [ ! -d /dev/discs ]
    then
    insmod scsi_mod && insmod sd_mod && insmod usb-storage && sleep 5s
    fi

    #Wait for /opt to mount
    mount /dev/discs/disc0/part2 /opt
    i=0
    while [ $i -le 30 ]
    do
    if [ -d /opt/etc ]
    then
    break
    fi
    sleep 1
    i=`expr $i + 1`
    done

    mount /dev/discs/disc1/part1 /tmp/harddisk


    # Activate swap
    swapon /dev/discs/disc0/part1

    # Run all active services - active means starts with S
    /opt/etc/init.d/rc.unslung

    echo "nameserver 194.134.5.55" > /etc/resolv.conf

    #disk spindown script
    /usr/local/sbin/scsi-stop.sh /dev/scsi/host1/bus0/target0/lun0/disc &
    Last edited by Egres; 16-04-2008 at 11:22.

  5. #200

    solved

    sorry for the troubles i found my problem

    my rc.unslung had mistake in config

    once more thanx for a nice tutorial

  6. #201
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    Quote Originally Posted by Egres View Post
    my problem is that xinetd is not starting on boot i can start it manual by
    /opt/etc/init.d/S10xinetd then i can acces swat but still have to start samba
    in web interface coz it doesn't auto strat
    STOP!
    Which firmware version?
    Do you use the firmware internal samba or the ipkg-installed version?

    If firmware: This will not work with xinetd at the moment. You will have to wait for the New Version of my HowTo or have a look at the german version, which is already up to date.

    If ipkg: NEVER activate the webinterface-samba.

    wengi
    Übersicht aller HowTos --- HowTo Overview (mostly german)
    WL-HDD mit diesem Setup. --- WL-HDD with this setup.
    Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
    Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)

  7. #202
    Hi Wengi!

    Thx for this nice tutorial!
    Almost everything is working fine.

    I build up this all on a WL-500gP and this is my router as well.
    I have done the NAT-Virtual Server ( 192.168.1.1 65534 port) on the router .

    I can not set up the Upnp nor the NAT for Transmission.

    Apr 14 18:50:04 transmissiond[192]: Transmission daemon 1.05+ (5051) started - http://transmission.m0k.org/ at port 65534
    Apr 14 18:55:18 transmissiond[192]: Port Mapping (NAT-PMP): If your router supports NAT-PMP, please make sure NAT-PMP is enabled!
    Apr 14 18:55:18 transmissiond[192]: Port Mapping (NAT-PMP): NAT-PMP port forwarding unsuccessful, trying UPnP next
    Apr 14 18:55:18 transmissiond[192]: Port Mapping (UPNP): upnpDiscover returned NULL (errno 2 - No such file or directory)
    Apr 14 18:55:18 transmissiond[192]: Port Mapping (UPNP): UPNP_GetValidIGD failed. (errno 0 - Success)
    Apr 14 18:55:18 transmissiond[192]: Port Mapping (UPNP): If your router supports UPnP, please make sure UPnP is enabled!

    This is the log for the error.

    Today I got another error message:
    [admin@PSQ10 root]$ cron
    cron: can't lock /opt/var/run/cron.pid, otherpid may be 161: Resource temporarily unavailable

    So now I have no cron running in the backround.

    My firmware release : 1.9.2.7-8

    Can U help me what did I wrong?

    Thanks in advance:
    MrPeeth

  8. #203
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    Hi,

    i am not sure if upnp will work properly on the asus itself... no experience.
    Simply open that port in the firewall and disable upnp.

    Is the cron error permanent?
    It seems that cron coulnd not write to /opt/var/run. Thats strange...

    wengi
    Übersicht aller HowTos --- HowTo Overview (mostly german)
    WL-HDD mit diesem Setup. --- WL-HDD with this setup.
    Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
    Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)

  9. #204
    I still have a problem with mkdir /opt/tmp

    This is after df :
    Code:
    $ df
    Filesystem           1k-blocks      Used Available Use% Mounted on
    /dev/root                 2944      2944         0 100% /
    /dev/discs/disc0/part1 195307264       128 195307136   0% /tmp/harddisk
    /dev/discs/disc0/part2   3212240     65628   2983440   2% /tmp/harddisk/part1
    after mkdir /opt/tmp:
    Code:
    mkdir: Cannot create directory `/opt/tmp': Read-only file system
    What am I doing wrong?

  10. #205
    Hi Wengi,

    I restarted the router and cron displayed this error message:
    Apr 17 19:21:30 /opt/sbin/cron[158]: (CRON) STARTUP (V5.0)
    Apr 17 19:21:30 /opt/sbin/cron[158]: (*system*) BAD FILE MODE (/opt/etc/crontab)


    I guess you I right!

    What should I do?

    thx:
    MrPeeth

  11. #206
    Hi!

    Now I got this error:
    mount: Mounting /dev/discs/disc0/part2 on /opt failed: No such file or directory
    mount: Mounting /dev/discs/disc0/part3 on /tmp/harddisk failed: No such file or directory
    swapon: Can't stat '/dev/discs/disc0/part1': No such file or directory
    /usr/local/sbin/post-boot: /usr/local/sbin/post-boot: 45: /opt/etc/init.d/rc.unslung: not found
    /usr/local/sbin/post-boot: /usr/local/sbin/post-boot: 48: /opt/etc/init.d/S10cron: not found
    /usr/local/sbin/post-boot: /usr/local/sbin/post-boot: 49: transmission_watchdog: not found
    /usr/local/sbin/post-boot: /usr/local/sbin/post-boot: 50: /opt/etc/init.d/S80busybox_httpd: not found
    /usr/local/sbin/post-boot: /usr/local/sbin/post-boot: 51: /opt/etc/init.d/S10xinetd: not found
    [admin@PSQ10 root]$


    I guess it means something strange.

    I know the datas are in safe on the HDD but the config?

    Thanks for any help:
    MrPeeth

  12. #207
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    @funmen:

    your mount points are wrong.
    Check for the mount for /opt in post-boot!

    @MrPeeth
    same for you. It seems your /opt is not mounted.
    have a look at "mount" and your post-boot.

    wengi
    Übersicht aller HowTos --- HowTo Overview (mostly german)
    WL-HDD mit diesem Setup. --- WL-HDD with this setup.
    Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
    Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)

  13. #208
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    @ALL

    I started to review the whole tut. Do NOT use it at the moment.
    This will take some days.

    wengi
    Übersicht aller HowTos --- HowTo Overview (mostly german)
    WL-HDD mit diesem Setup. --- WL-HDD with this setup.
    Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
    Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)

  14. #209

    swap problem

    Hi wengi
    i have a problem with swap mounting

    [serge@ASUS root]$ mount -a
    mount: Mounting /dev/discs/disc0/part1 on none failed: No such file or directory

    #device Mountpoint FStype Options Dump Pass#
    /dev/discs/disc0/part1 none swap sw 0 0
    /dev/discs/disc0/part2 /opt ext3 rw,noatime 1 1
    /dev/discs/disc0/part3 /tmp/mnt/disc0_3 ext3 rw,noatime 1 1

    [serge@ASUS root]$ fdisk -l

    Disk /dev/scsi/host0/bus0/target0/lun0/disc: 2021 MB, 2021654528 bytes
    63 heads, 62 sectors/track, 1010 cylinders
    Units = cylinders of 3906 * 512 = 1999872 bytes

    Device Boot Start End Blocks Id System
    /dev/scsi/host0/bus0/target0/lun0/part1 1 257 501890 82 Linux swap
    /dev/scsi/host0/bus0/target0/lun0/part2 258 514 501921 83 Linux
    /dev/scsi/host0/bus0/target0/lun0/part3 515 1010 968688
    83 Linux

    and mounting partition 3 to /tmp/harddisk in fstab ignored at boot and set to /tmp/mnt/disc0_3

  15. #210
    Join Date
    Apr 2008
    Location
    Denmark
    Posts
    1
    Thanks a lot for this tutorial, I have no Linux experience, so would never have succeded in setting up my WL500gP without this tutorial.

    Had one or two problems though, first time around it wouldn't activate my swap automatically, but started over from scratch and it worked. Don't know what I did wrong.

    Another problem was really weird though, when rebooting the router it would hang, and I discovered that it was writing an endless log file to /opt/var/log/message.0, it would simply carry on till my disk was full. I solved it by removing the link to the original syslog and prevent it from copying content between the two.

Page 14 of 64 FirstFirst ... 4121314151624 ... LastLast

Similar Threads

  1. [Howto] Install DLNA media servers for Oleg firmware
    By ecaddict in forum WL-500gP Tutorials
    Replies: 18
    Last Post: 06-06-2017, 07:40
  2. Replies: 24
    Last Post: 05-05-2015, 07:42
  3. Replies: 28
    Last Post: 02-06-2013, 20:58
  4. Replies: 6
    Last Post: 21-09-2012, 17:06
  5. [Howto] Install kernel modules for Oleg firmware
    By ecaddict in forum WL-500gP Tutorials
    Replies: 0
    Last Post: 05-12-2011, 16:18

Tags for this Thread

Posting Permissions

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