Optware, the right way

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3, 4, 5 ... 157, 158, 159  Next
Author Message
DHC_DarkShadow
DD-WRT Guru


Joined: 22 Jun 2008
Posts: 2440
Location: Am now Dark_Shadow

PostPosted: Mon Oct 19, 2009 10:26    Post subject: Reply with quote
Unnecessary services are off now

Code:
root@WRT54G-TMv11:~# which top
/opt/bin/top
root@WRT54G-TMv11:~# type top
top is /opt/bin/top
root@WRT54G-TMv11:~# /usr/bin/top
Mem: 21472K used, 7764K free, 0K shrd, 2120K buff, 11952K cached
CPU:  0.0% usr 23.0% sys  0.0% nic 76.9% idle  0.0% io  0.0% irq  0.0% sirq
Load average: 0.05 0.22 0.22 1/29 2116
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
 2116  1203 root     R     1508  5.1 23.0 /usr/bin/top
 1138     1 root     S     3588 12.2  0.0 /opt/sbin/smbd -D
  241     1 root     S     2936 10.0  0.0 httpd -p 80
 1143     1 root     S     2292  7.8  0.0 /opt/sbin/nmbd -D
 1146  1143 root     S     2240  7.6  0.0 /opt/sbin/nmbd -D
 1203   157 root     S     2128  7.2  0.0 -bash
  263     1 root     S     2008  6.8  0.0 pppd file /tmp/ppp/options.pppoe
  230     1 root     S     1872  6.4  0.0 dropbear -b /tmp/loginprompt -r /tmp/r

   14     1 root     S     1836  6.2  0.0 watchdog
  264     1 root     S     1836  6.2  0.0 /tmp/ppp/redial 30
    1     0 root     S     1800  6.1  0.0 /sbin/init noinitrd
  103     1 root     S     1796  6.1  0.0 resetbutton
  908     1 root     S     1792  6.1  0.0 wland
  583     1 root     S     1792  6.1  0.0 process_monitor
  276     1 root     S     1792  6.1  0.0 ttraff
  296     1 root     S     1700  5.8  0.0 nas -P /tmp/nas.wl0lan.pid -H 34954 -l

  157     1 root     S     1504  5.1  0.0 telnetd
  920     1 root     S     1376  4.7  0.0 /opt/sbin/xinetd
  229     1 root     S     1148  3.9  0.0 dnsmasq --conf-file=/tmp/dnsmasq.conf

  659     1 root     S     1032  3.5  0.0 cron
root@WRT54G-TMv11:~# /opt/bin/top
Segmentation fault
root@WRT54G-TMv11:~# echo $PATH
/opt/bin:/opt/sbin:/opt/usr/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/jffs/sbin:/jffs/
bin:/jffs/usr/sbin:/jffs/usr/bin:/mmc/sbin:/mmc/bin:/mmc/usr/sbin:/mmc/usr/bin:/
opt/sbin:/opt/bin:/opt/usr/sbin:/opt/usr/bin
root@WRT54G-TMv11:~# echo $LD_LIBRARY_PATH
/lib:/usr/lib:/jffs/lib:/jffs/usr/lib:/jffs/usr/local/lib:/mmc/lib:/mmc/usr/lib:
/opt/lib:/opt/usr/lib
root@WRT54G-TMv11:~#


Also noted on reboot

Code:
root@WRT54G-TMv11:~# reboot
Stopping smbd:
Stopping nmbd:
Try to unmount "/dev/mmc/disc0/part1 on /jffs"
umount  /dev/mmc/disc0/part1
Try to unmount "/dev/mmc/disc0/part1 on /mmc"
umount  /dev/mmc/disc0/part1
Oct 19 06:08:40  optware.info /opt/etc/init.d/K99optware: Optware shutdown finis
hed
umount: /jffs/opt: not found
umount: /opt: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
umount: /mmc/jffs: not found


Maybe i need to take out my unmount's since automount takes care of it.

And top still gives the same error

Code:
root@WRT54G-TMv11:~# top
Segmentation fault
root@WRT54G-TMv11:~# htop
Segmentation fault


frater wrote:
If the problem is with DD-WRT's top it is possible your library is smaller... Anyhow... 'top' should execute optware's top unless your PATH is not properly set...

Of course this should work properly but in the mean time you can use htop which has more possibilities.


I haven't done anything with the path's

_________________
The New Me
Sponsor
frater
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 2777

PostPosted: Mon Oct 19, 2009 15:23    Post subject: Reply with quote
You can easily fix this by uninstalling procps, but first you should try a remove and install

Code:
ipkg-opt remove procps
ipkg-opt install procps

I have no idea where this comes from.
Is it possible you did a firmware upgrade without factory default (I know you must be eager to try the new MMC-driver)

_________________
Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge

DD-WRT v24-sp2 vpn (c) 2010 NewMedia-NET GmbH
Release: 12/16/10 (SVN revision: 15758M)
DHC_DarkShadow
DD-WRT Guru


Joined: 22 Jun 2008
Posts: 2440
Location: Am now Dark_Shadow

PostPosted: Mon Oct 19, 2009 15:47    Post subject: Reply with quote
frater wrote:
You can easily fix this by uninstalling procps, but first you should try a remove and install

Code:
ipkg-opt remove procps
ipkg-opt install procps

I have no idea where this comes from.
Is it possible you did a firmware upgrade without factory default (I know you must be eager to try the new MMC-driver)


Yes eager, but one not eager enough to bypass things that we preach to the noob's, two the new driver build hasn't been released yet.

What is "procps"?

I am at work now, will have to try this when i get home.

I removed my unmount's in rc_shutdown to let automount take over, but it made my sd mod not there. Tryed disabling the sd mod and reenableing it to no avail. Once I put my umount's back in and rebooted the sd mod was back. But still have the shutdown errors.

_________________
The New Me
frater
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 2777

PostPosted: Mon Oct 19, 2009 15:51    Post subject: Reply with quote
I will look into these mounts...
It was meant for USB-devices so I may need to modify some code for MMC...

I believe one of your post already show the device names. If not, I will need them from you..

_________________
Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge

DD-WRT v24-sp2 vpn (c) 2010 NewMedia-NET GmbH
Release: 12/16/10 (SVN revision: 15758M)
frater
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 2777

PostPosted: Mon Oct 19, 2009 16:34    Post subject: Reply with quote
I don't have mmc.
If I may look on your router to check some things it may become clear what is going on.
We could use teamviewer & skype (no voice please).
PM me if you're interested.
I fully understand if you prefer not to....

Output of these commands are helpful too:

Code:
mount
fdisk -l
blkid
df
cat /tmp/fdisk
cat /tmp/blkid
cat /opt/etc/automount
cat /opt/etc/nomount

_________________
Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge

DD-WRT v24-sp2 vpn (c) 2010 NewMedia-NET GmbH
Release: 12/16/10 (SVN revision: 15758M)
Masterman
DD-WRT Guru


Joined: 24 Aug 2009
Posts: 2070
Location: South Florida

PostPosted: Mon Oct 19, 2009 22:58    Post subject: Reply with quote
I have updated the WL500W Wiki with this procedure for now, since I know it works. Please make any changes or modifications as you feel necessary!

http://www.dd-wrt.com/wiki/index.php/Asus_WL-500W#Installing_Frater.27s_Optware

_________________
Optware, the Right Way
Asus RT-AC68U
Asus RT-N66U
Asus RT-N10
Asus RT-N12
Asus RT-N16 x5
Asus WL520gU
Engenious ECB350
Linksys WRT600Nv1.1
Linksys WRT610Nv1
Linksys E2000
Netgear WNDR3300
SonicWall NSA220W
SonicWall TZ215W
SonicWall TZ205W
SonicWall TZ105W
DHC_DarkShadow
DD-WRT Guru


Joined: 22 Jun 2008
Posts: 2440
Location: Am now Dark_Shadow

PostPosted: Tue Oct 20, 2009 0:02    Post subject: Reply with quote
ok, I found the reason for the mysterious disappearing and reappearing SD/MMC MOD. Someone once told me *winks @ BW* that with my mods I was probably close to maxing out my power supply. Welp, running the optware was the straw that broke the proverbial camels back. Currently running a 200 watt ATX PSU. I think it's got all that it needs now.

Give me a sec to catch up on the thread and I will be at it again.

EDIT: I recommend that anyone doing an SD/MMC mod to look into upgrading they're power supply.

_________________
The New Me


Last edited by DHC_DarkShadow on Tue Oct 20, 2009 1:14; edited 1 time in total
DHC_DarkShadow
DD-WRT Guru


Joined: 22 Jun 2008
Posts: 2440
Location: Am now Dark_Shadow

PostPosted: Tue Oct 20, 2009 0:08    Post subject: Reply with quote
Output requested


Just as a side note, I can provide serial output as well.


Just for S & G's

_________________
The New Me


Last edited by DHC_DarkShadow on Thu Oct 22, 2009 15:31; edited 1 time in total
DHC_DarkShadow
DD-WRT Guru


Joined: 22 Jun 2008
Posts: 2440
Location: Am now Dark_Shadow

PostPosted: Tue Oct 20, 2009 1:49    Post subject: Reply with quote
frater wrote:
I don't have mmc.
If I may look on your router to check some things it may become clear what is going on.
We could use teamviewer & skype (no voice please).
PM me if you're interested.
I fully understand if you prefer not to....


Do you use any other IM software then skype?

_________________
The New Me
frater
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 2777

PostPosted: Tue Oct 20, 2009 11:10    Post subject: Reply with quote
Yes, I have live messenger...
_________________
Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge

DD-WRT v24-sp2 vpn (c) 2010 NewMedia-NET GmbH
Release: 12/16/10 (SVN revision: 15758M)
DHC_DarkShadow
DD-WRT Guru


Joined: 22 Jun 2008
Posts: 2440
Location: Am now Dark_Shadow

PostPosted: Tue Oct 20, 2009 12:09    Post subject: Reply with quote
Oh ok, i was just trying to get out of installing another IM proggy, but I will look into skype and teamviewer when I get home today.
_________________
The New Me
frater
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 2777

PostPosted: Tue Oct 20, 2009 13:18    Post subject: Reply with quote
You should do all this early in the evening or late in the afternoon as I live in a GMT+2 (daylight saving) zone. That's a 6 Hour time difference....
It all really needs to be done before 7pm your time (that's 01:00 am for me)

_________________
Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge

DD-WRT v24-sp2 vpn (c) 2010 NewMedia-NET GmbH
Release: 12/16/10 (SVN revision: 15758M)
jjgarciasp
DD-WRT User


Joined: 18 Jun 2006
Posts: 210
Location: Central Florida

PostPosted: Tue Oct 20, 2009 15:19    Post subject: Reply with quote
For what it's worth... I highly recommend Teamviewer. It is encrypted and gives both parties full view of what is going on.

I use Teamviewer to support my customers when they get stuck.
DHC_DarkShadow
DD-WRT Guru


Joined: 22 Jun 2008
Posts: 2440
Location: Am now Dark_Shadow

PostPosted: Tue Oct 20, 2009 15:31    Post subject: Reply with quote
frater wrote:
You should do all this early in the evening or late in the afternoon as I live in a GMT+2 (daylight saving) zone. That's a 6 Hour time difference....
It all really needs to be done before 7pm your time (that's 01:00 am for me)


I will have time Friday, would that be Thurs. or Sat. for you? At any rate, that give's me plenty of time to get setup, and check it all out.

_________________
The New Me
crashfly
DD-WRT Guru


Joined: 24 Feb 2009
Posts: 2026
Location: Sol System > Earth > USA > Arkansas

PostPosted: Tue Oct 20, 2009 16:45    Post subject: Reply with quote
jjgarciasp wrote:
For what it's worth... I highly recommend Teamviewer. It is encrypted and gives both parties full view of what is going on.

I use Teamviewer to support my customers when they get stuck.

Officially, I can support it too. Sometimes I have to help out my dumba** friends (who live in a different state) to fix problems on their computer. I also recently introduced the program to some of my coworkers. They think it is a great support program.

_________________
E3000 22200M KongVPN K26
WRT600n v1.1 refirb mega 18767 BS K24 NEWD2 [not used]
WRT54G v2 16214 BS K24 [access point]

Try Dropbox for syncing files - get 2.5gb online for free by signing up.

Read! Peacock thread
*PLEASE* upgrade PAST v24SP1 or no support.
Goto page Previous  1, 2, 3, 4, 5 ... 157, 158, 159  Next Display posts from previous:    Page 4 of 159
Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum