Page 9 of 64 FirstFirst ... 78910111959 ... LastLast
Results 121 to 135 of 958

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

  1. #121
    Join Date
    Sep 2007
    Location
    Canada
    Posts
    15

    WOW, that was fast

    Thank you wengi for your quick reply...
    I tried again this morning and I got the same errors
    On the other hand accessing this from a web browser would actually download the packages...
    My question is, can't I just download everything locally and take it from there?
    If so, could you be so kind as to explain me how...please
    Thanks in advance

  2. #122

    hdd read only

    hello .. my problem is that the

    /usr/local/sbin/post-boot

    containing line mount /dev/discs/disc0/part3 /tmp/harddisk

    like in tutorial (4b. Startup-scripts). should i put some more sleep command there ? that the system could mount that space of hdd right after reboot ?

    after reboot router is not mounting the hdd to that temp place . i have to umont it my self and mount it again . after that the hdd partition is working perfectly .
    what could be the problem that the post boot is not mounting right ? i dont want to do it manualy after reboot .

    now after system reboots . there is /tmp/harddisk but read only . and behaving very slowly in samba . after manual umont and mount it is working perfectly ..

    how come ?? :-)

    .. using version version 1.9.2.7-7g in 500g premium

    df command looks like this after reboot

    Filesystem 1K-blocks Used Available Use% Mounted on
    rootfs 2880 2880 0 100% /
    /dev/root 2880 2880 0 100% /
    /dev/discs/disc0/part2
    988244 95120 842924 11% /opt
    /dev/discs/disc0/part1
    29280176 2768 29277408 1% /tmp/harddisk

    how come that the part 1 is mounting as /tmp/harddisk .. and it should be part3 ??
    where could i find this command ? my /usr/local/sbin/post-boot looks like this

    #!/bin/sh
    dropbear
    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/disc0/part3 /tmp/harddisk


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

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


    ????????
    Last edited by maxo777; 02-02-2008 at 22:04. Reason: update

  3. #123
    Join Date
    Sep 2007
    Location
    Canada
    Posts
    15

    Transmission problem

    Hi wengi,

    A question... when you enter the following commands where should you be? My prompt looks like this

    [admin@(none) root]$
    I'm talking about these commands...
    ipkg install logrotate
    ipkg install gnuplot #(there are many dependencies. This will take some time)
    ipkg install libbt
    ipkg install transmission

  4. #124
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    Hi,

    sorry, not that much time...

    @gixie:
    check the inet connection, DNS and routing. Try to ping ipkg.nslu2-linux.org. It think there is something buggy with the settings in the router. Otherwise install lynx manually (see the commangs of th ipkg installation itself. Simply use the downloaded filename instead of the package name). What does "ipkg update" result in?

    @maxo777
    is your swap (part1) active? Try 'free' to see this.

    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)

  5. #125
    Quote Originally Posted by wengi View Post
    Hi,


    @maxo777
    is your swap (part1) active? Try 'free' to see this.

    wengi

    yes everything works .. bud after restart i must manualy dismount part3 and mont again . and all ok . ;-)

    could the problem be here ?

    http://wl500g.info/showthread.php?t=12098

    ?
    FREE looks like this

    [admin@(none) root]$ free
    total used free shared buffers cached
    Mem: 30116 28776 1340 0 2568 18780
    -/+ buffers/cache: 7428 22688
    Swap: 506008 3184 502824

  6. #126

    cannot open web interface for samba2 & transmission

    it's great to have such a comprehensive tutorial to follow. however, I've the problems in opening the web interface for samba2 & transmission, i.e. 192.168.1.1:901 etc. failed to open any web interface.

    i am using the latest oleg firmware and followed the tutorial upto transmission & samba2.

    could anybody tell me what the problem is?

    many thx!!!

  7. #127
    Hi,

    check if the service is running (with 'top' or 'ps axf'). (processes like smbd should be there.)
    If they are not running, try to run your post-boot file manually and see if errors pop up.

    If you still have your standard ip-address it should work, otherwise, check in the following files if your ip-range is valid for samba. /opt/etc/samba/smb.conf and /opt/etc/xinetd.d/swat

    HTH

  8. #128
    raas, many thx. for your reply

    it appears that samba & transmission are not running if i use the 'top' command.

    my post-boot file is as follows:

    #!/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/disc0/part3 /tmp/harddisk


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

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

    Is there sth. missing

    sorri that i dun know much about linux...many thx. for your kind assistance.

  9. #129
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    Hi,

    post-boot seems ok.

    try to run "/opt/etc/init.d/rc.unslung" manualy.
    Any errors?
    Is the file executable?

    Please post the result of "ls -lah /opt/etc/init.d/"

    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)

  10. #130

    i have the same problem

    Quote Originally Posted by wengi View Post
    Hi,

    post-boot seems ok.

    try to run "/opt/etc/init.d/rc.unslung" manualy.
    Any errors?
    Is the file executable?

    Please post the result of "ls -lah /opt/etc/init.d/"

    wengi
    i run "/opt/etc/init.d/rc.unslung" and didnt get any errors
    this is what i got:


    [admin@(none) root]$ /opt/etc/init.d/rc.unslung
    Starting busybox httpd at port 8008 ... busybox_httpd: bind: Address already in use
    done
    Stopping smbd:
    Stopping nmbd:
    Starting smbd:
    Starting nmbd:
    [admin@(none) root]$ ls -lah /opt/etc/init.d/
    ls: illegal option -- h
    BusyBox v1.1.3 (2007.10.15-19:06+0000) multi-call binary

    Usage: ls [-1AacCdeFilnpLRrSsTtuvwxXk] [filenames...]

    [admin@(none) root]$

    tnx for the help

  11. #131
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    Hi,

    sorry, the -lah option was wrong i think.
    simply do a "ls /opt/etc/init.d/" and post the result here.
    Also post result of "ps" or "ps axf" (depending if core utils are installed)

    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)

  12. #132
    Quote Originally Posted by wengi View Post
    Hi,

    sorry, the -lah option was wrong i think.
    simply do a "ls /opt/etc/init.d/" and post the result here.
    Also post result of "ps" or "ps axf" (depending if core utils are installed)

    wengi
    OK here it is

    [admin@(none) root]$ ls /opt/etc/init.d/
    S05syslogd S10xinetd S80samba
    S10cron S80busybox_httpd rc.unslung
    [admin@(none) root]$


    [admin@(none) root]$ ps
    PID Uid VmSize Stat Command
    1 admin 688 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]
    43 admin 328 S telnetd
    48 admin 396 S httpd eth1
    55 nobody 492 S [dnsmasq]
    56 admin 368 S klogd
    61 admin SW [khubd]
    70 admin 276 S lpd
    72 admin 260 S p9100d -f /dev/usb/lp0 0
    75 admin 344 S waveservermain
    77 admin 348 S rcamdmain
    81 admin SW [usb-storage-0]
    82 admin SW [scsi_eh_0]
    88 1 364 S [portmap]
    91 admin 476 S /usr/sbin/statd
    93 admin SW [nfsd]
    94 admin SW [lockd]
    95 admin SW [rpciod]
    97 admin 456 S /usr/sbin/mountd
    102 admin 320 S infosvr br0
    105 admin 500 S watchdog
    107 admin 352 S ntp
    115 admin 468 S dropbear
    116 admin SW [kjournald]
    118 admin SW [kjournald]
    132 admin 400 S /sbin/syslogd -m 0 -O /opt/var/log/messages -S -l 7
    135 admin 412 S /opt/sbin/cron
    148 admin 420 S /usr/sbin/busybox_httpd -c /opt/etc/httpd.conf -p 800
    156 admin 1292 S /opt/sbin/smbd -D
    158 admin 1196 S /opt/sbin/nmbd -D
    173 admin 432 S udhcpc -i eth1 -p /var/run/udhcpc0.pid -s /tmp/udhcpc
    179 admin 412 S stupid-ftpd
    186 admin 564 S upnp -D -L br0 -W eth1
    189 admin 556 S -sh
    193 admin 404 R ps
    [admin@(none) root]$


    tnx
    wl-500w

  13. #133
    Hi,

    This is a total shot in the dark and correct me if I'm wrong,
    but do these services need a 'hostname' in order to function properly?

    I'm asking this because I saw a

    Code:
    [admin@(none) root]
    in your code
    The '(none)' means, no hostname is available.

    I could be wrong, but give it a shot.

  14. #134
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    Hi,

    transmission and samba are running:
    Code:
    148 admin 420 S /usr/sbin/busybox_httpd -c /opt/etc/httpd.conf -p 800
    156 admin 1292 S /opt/sbin/smbd -D
    158 admin 1196 S /opt/sbin/nmbd -D
    btu the fulll http-line of ps should be:
    Code:
    /usr/sbin/busybox_httpd -c /opt/etc/httpd.conf -p 8008 -h /opt/share/www
    Maybe this was only a putty thing...

    I recommend defining a hostname (in webinterface)

    Swat is not reachable because xinetd is not running!
    Check if /opt/etc/init.d/S10xinetd is executable and the content is the right one.

    And by the way: dvirt = dolpli?

    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)

  15. #135

    still cant surff to 192.168.1.1:901

    Quote Originally Posted by wengi View Post
    Hi,

    transmission and samba are running:
    Code:
    148 admin 420 S /usr/sbin/busybox_httpd -c /opt/etc/httpd.conf -p 800
    156 admin 1292 S /opt/sbin/smbd -D
    158 admin 1196 S /opt/sbin/nmbd -D
    btu the fulll http-line of ps should be:
    Code:
    /usr/sbin/busybox_httpd -c /opt/etc/httpd.conf -p 8008 -h /opt/share/www
    Maybe this was only a putty thing...

    I recommend defining a hostname (in webinterface)

    Swat is not reachable because xinetd is not running!
    Check if /opt/etc/init.d/S10xinetd is executable and the content is the right one.

    And by the way: dvirt = dolpli?

    wengi
    i define a host name (wl500w), still cant get 192.168.1.1:901 or wl500w:901 .
    ps output:
    Code:
    [admin@wl500w root]$ ps
      PID  Uid     VmSize Stat Command
        1 admin       688 S   /sbin/init
        2 admin           SW  [keventd]
        3 admin           RWN [ksoftirqd_CPU0]
        4 admin           SW  [kswapd]
        5 admin           SW  [bdflush]
        6 admin           SW  [kupdated]
        7 admin           SW  [mtdblockd]
       43 admin       308 S   telnetd
       48 admin       380 S   httpd eth1
       55 nobody      440 S   [dnsmasq]
       56 admin       368 S   klogd
       61 admin           SW  [khubd]
       70 admin       276 S   lpd
       72 admin       260 S   p9100d -f /dev/usb/lp0 0
       75 admin       344 S   waveservermain
       77 admin       348 S   rcamdmain
       81 admin           SW  [usb-storage-0]
       82 admin           SW  [scsi_eh_0]
       89 1           364 S   [portmap]
       91 admin       472 S   /usr/sbin/statd
       93 admin           SW  [nfsd]
       95 admin           SW  [lockd]
       96 admin           SW  [rpciod]
       97 admin       456 S   /usr/sbin/mountd
      102 admin       320 S   infosvr br0
      103 admin       500 S   watchdog
      107 admin       352 S   ntp
      113 admin       480 S   dropbear
      116 admin           SW  [kjournald]
      118 admin           SW  [kjournald]
      132 admin       400 S   /sbin/syslogd -m 0 -O /opt/var/log/messages -S -l 7
      135 admin       412 S   /opt/sbin/cron
      150 admin       420 S   /usr/sbin/busybox_httpd -c /opt/etc/httpd.conf -p 800
      156 admin      1288 S   /opt/sbin/smbd -D
      158 admin      1192 S   /opt/sbin/nmbd -D
      173 admin       432 S   udhcpc -i eth1 -p /var/run/udhcpc0.pid -s /tmp/udhcpc
      179 admin       412 S   stupid-ftpd
      181 admin       964 S   /usr/sbin/nmbd -D
      190 admin       456 S   upnp -D -L br0 -W eth1
      192 admin       748 R   dropbear
      193 admin       556 S   -sh
      196 admin       404 R   ps
    [admin@wl500w root]$
    i have very littel knowledgein linux so ... when i defined a host name, i sould update some files ?

    Code:
    opt/etc/init.d/S10xinetd
    is exeutedle i think
    wl-500w

Page 9 of 64 FirstFirst ... 78910111959 ... 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
  •