#23 2008-10-05 16:40:53
Re: ASUS WL-500gP BT下载
total used free shared buffers
Mem: 30164 29256 908 0 9476
Swap: 489940 1948 487992
Total: 520104 31204 488900
Disk /dev/scsi/host0/bus0/target0/lun0/disc: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id
System
/dev/scsi/host0/bus0/target0/lun0/part1 1 61 489951
82 Linux swap
/dev/scsi/host0/bus0/target0/lun0/part2 62 14593 116728290
83 Linux
看看我在版主的帮助下的成果。再努力一下就要成功了。
離線
#26 2008-10-07 13:30:06
Re: ASUS WL-500gP BT下载
这是我的经过。
WL-500GP login: admin
Password:
[admin@WL-500GP root]$ killall stupid-ftpd
killall: stupid-ftpd: no process killed
[admin@WL-500GP root]$ umount /tmp/harddisk
[admin@WL-500GP root]$ mkswap /dev/scsi/host0/bus0/target0/lun0/part2
Setting up swapspace version 1, size = 493510656 bytes
[admin@WL-500GP root]$ awapon /dev/scsi/host0/bus0/target0/lun0/part2
-sh: awapon: not found
[admin@WL-500GP root]$ swapon /dev/scsi/host0/bus0/target0/lun0/part2
swapon: /dev/scsi/host0/bus0/target0/lun0/part2: Device or resource busy
[admin@WL-500GP root]$ mke2fs -j /dev/scsi/host0/bus0/target0/lun0/part1
mke2fs 1.38 (30-Jun-2005)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
14598144 inodes, 29184072 blocks
1459203 blocks (5.00%) reserved for the super user
First data block=0
891 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 20 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
[admin@WL-500GP root]$ mount /dev/scsi/host0/bus0/target0/lun0/part1 /opt
[admin@WL-500GP root]$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 3072 3072 0 100% /
/dev/scsi/host0/bus0/target0/lun0/part1 114903912 131228 108935872 0% /opt
[admin@WL-500GP root]$ free
total used free shared buffers
Mem: 30164 8340 21824 0 444
Swap: 481940 1208 480732
Total: 512104 9548 502556
[admin@WL-500GP root]$ mkdir /opt/tmp
[admin@WL-500GP root]$ mkdir /opt/tmp/ipkg
[admin@WL-500GP root]$ ipkg.sh update
Downloading http://wl500g.dyndns.org/ipkg/Packages ...
Connecting to wl500g.dyndns.org[158.250.11.254]:80
Packages 100% |*****************************| 754 00:00 ETA
Done.
Updated list of available packages in /opt/lib/ipkg/lists/wl500g
Downloading http://ipkg.nslu2-linux.org/feeds/optwa … e/Packages
...
Connecting to ipkg.nslu2-linux.org[140.211.169.169]:80
Packages 100% |*****************************| 413 KB 00:00 ETA
Done.
Updated list of available packages in /opt/lib/ipkg/lists/optware
[admin@WL-500GP root]$ ipkg.sh install ipkg-opt
Downloading http://ipkg.nslu2-linux.org/feeds/optwa … e/uclibc-o
pt_0.9.28-13_mipsel.ipk ...
Connecting to ipkg.nslu2-linux.org[140.211.169.169]:80
uclibc-opt_0.9.28-13 100% |*****************************| 832 KB 00:00 ETA
Done.
Unpacking uclibc-opt...Done.
Configuring uclibc-opt...Updating /opt/etc/ld.so.cache
Done.
Downloading http://ipkg.nslu2-linux.org/feeds/optwa … e/ipkg-opt
_0.99.163-10_mipsel.ipk ...
Connecting to ipkg.nslu2-linux.org[140.211.169.169]:80
ipkg-opt_0.99.163-10 100% |*****************************| 75796 00:00 ETA
Done.
Unpacking ipkg-opt...Done.
Configuring ipkg-opt...Done.
[admin@WL-500GP root]$ ipkg install nano
Installing nano (2.1.5-1) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optwa … e/nano_2.1
.5-1_mipsel.ipk
Installing ncurses (5.6-3) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optwa … e/ncurses_
5.6-3_mipsel.ipk
/opt/etc/init.d/rc.unslung
# Start SSH daemon
dropbear
~
[admin@WL-500GP root]$ flashs save
-sh: flashs: not found
[admin@WL-500GP root]$ flashfs save
tar: Removing leading '/' from member names
tmp/local/
tmp/local/etc/
tmp/local/etc/dropbear/
tmp/local/etc/dropbear/dropbear_rsa_host_key
tmp/local/etc/dropbear/dropbear_dss_host_key
tmp/local/sbin/
tmp/local/sbin/post-firewall
tmp/local/sbin/post-boot
tmp/local/root/
-rw-r--r-- 1 admin root 1515 Oct 7 13:13 /tmp/flash.tar.gz
Check saved image and type "/sbin/flashfs commit" to commit changes
[admin@WL-500GP root]$ flashfs commit
.
Committed.
[admin@WL-500GP root]$ flashfs enable
[admin@WL-500GP root]$
離線
#27 2008-10-07 14:19:31
Re: ASUS WL-500gP BT下载
WL-500GP login: admin
Password:
[admin@WL-500GP root]$ killall stupid-ftpd
killall: stupid-ftpd: no process killed
[admin@WL-500GP root]$ umount /tmp/harddisk
[admin@WL-500GP root]$ mkswap /dev/scsi/host0/bus0/target0/lun0/part2
Setting up swapspace version 1, size = 493510656 bytes
[admin@WL-500GP root]$ awapon /dev/scsi/host0/bus0/target0/lun0/part2
-sh: awapon: not found
[admin@WL-500GP root]$ swapon /dev/scsi/host0/bus0/target0/lun0/part2
swapon: /dev/scsi/host0/bus0/target0/lun0/part2: Device or resource busy
[admin@WL-500GP root]$ mke2fs -j /dev/scsi/host0/bus0/target0/lun0/part1
mke2fs 1.38 (30-Jun-2005)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
14598144 inodes, 29184072 blocks
1459203 blocks (5.00%) reserved for the super user
First data block=0
891 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 20 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
[admin@WL-500GP root]$ mount /dev/scsi/host0/bus0/target0/lun0/part1 /opt
[admin@WL-500GP root]$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 3072 3072 0 100% /
/dev/scsi/host0/bus0/target0/lun0/part1 114903912 131228 108935872 0% /opt
[admin@WL-500GP root]$ free
total used free shared buffers
Mem: 30164 8340 21824 0 444
Swap: 481940 1208 480732
Total: 512104 9548 502556
[admin@WL-500GP root]$ mkdir /opt/tmp
[admin@WL-500GP root]$ mkdir /opt/tmp/ipkg
[admin@WL-500GP root]$ ipkg.sh update
Downloading http://wl500g.dyndns.org/ipkg/Packages ...
Connecting to wl500g.dyndns.org[158.250.11.254]:80
Packages 100% |*****************************| 754 00:00 ETA
Done.
Updated list of available packages in /opt/lib/ipkg/lists/wl500g
Downloading http://ipkg.nslu2-linux.org/feeds/optwa … e/Packages
...
Connecting to ipkg.nslu2-linux.org[140.211.169.169]:80
Packages 100% |*****************************| 413 KB 00:00 ETA
Done.
Updated list of available packages in /opt/lib/ipkg/lists/optware
[admin@WL-500GP root]$ ipkg.sh install ipkg-opt
Downloading http://ipkg.nslu2-linux.org/feeds/optwa … e/uclibc-o
pt_0.9.28-13_mipsel.ipk ...
Connecting to ipkg.nslu2-linux.org[140.211.169.169]:80
uclibc-opt_0.9.28-13 100% |*****************************| 832 KB 00:00 ETA
Done.
Unpacking uclibc-opt...Done.
Configuring uclibc-opt...Updating /opt/etc/ld.so.cache
Done.
Downloading http://ipkg.nslu2-linux.org/feeds/optwa … e/ipkg-opt
_0.99.163-10_mipsel.ipk ...
Connecting to ipkg.nslu2-linux.org[140.211.169.169]:80
ipkg-opt_0.99.163-10 100% |*****************************| 75796 00:00 ETA
Done.
Unpacking ipkg-opt...Done.
Configuring ipkg-opt...Done.
[admin@WL-500GP root]$ ipkg install nano
Installing nano (2.1.5-1) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optwa … e/nano_2.1
.5-1_mipsel.ipk
Installing ncurses (5.6-3) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optwa … e/ncurses_
5.6-3_mipsel.ipk
/opt/etc/init.d/rc.unslung
# Start SSH daemon
dropbear
~
[admin@WL-500GP root]$ flashs save
-sh: flashs: not found
[admin@WL-500GP root]$ flashfs save
tar: Removing leading '/' from member names
tmp/local/
tmp/local/etc/
tmp/local/etc/dropbear/
tmp/local/etc/dropbear/dropbear_rsa_host_key
tmp/local/etc/dropbear/dropbear_dss_host_key
tmp/local/sbin/
tmp/local/sbin/post-firewall
tmp/local/sbin/post-boot
tmp/local/root/
-rw-r--r-- 1 admin root 1515 Oct 7 13:13 /tmp/flash.tar.gz
Check saved image and type "/sbin/flashfs commit" to commit changes
[admin@WL-500GP root]$ flashfs commit
.
Committed.
[admin@WL-500GP root]$ flashfs enable
[admin@WL-500GP root]$
離線
#28 2008-10-07 14:42:55
Re: ASUS WL-500gP BT下载
终于改机了。我的网上邻居和改机前一样无法进入。网上邻居见part0 在 WL500g.Premium (Wl500g.premium) 上及part1 在 WL500g.Premium (Wl500g.premium) 上,都不法访问。并且标识都没变。
telnet192.168.1.1。进去看见
WL-500GP login: admin
Password:
[admin@WL-500GP root]$ free
total used free shared buffers
Mem: 30164 21664 8500 0 6920
Swap: 481940 0 481940
Total: 512104 21664 490440
[admin@WL-500GP root]$ fdisk -l
Disk /dev/scsi/host0/bus0/target0/lun0/disc: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id
System
/dev/scsi/host0/bus0/target0/lun0/part1 1 14533 116736291
83 Linux
/dev/scsi/host0/bus0/target0/lun0/part2 14534 14593 481950
82 Linux swap
[admin@WL-500GP root]$ ps
PID Uid VmSize Stat Command
1 admin 644 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]
59 admin 332 S telnetd
65 admin 380 S httpd vlan1
66 admin 408 S syslogd -m 0 -O /tmp/syslog.log -S -l 7
71 nobody 488 S [dnsmasq]
72 admin 364 S klogd
77 admin SW [khubd]
86 admin 276 S lpd
88 admin 260 S p9100d -f /dev/usb/lp0 0
91 admin 340 S waveservermain
93 admin 344 S rcamdmain
97 admin SW [usb-storage-0]
98 admin SW [scsi_eh_0]
104 admin 700 S pppd file /tmp/ppp/options.wan0
107 admin 312 S infosvr br0
108 admin 476 S watchdog
110 admin 344 S ntp
127 admin SW [kjournald]
135 admin 1000 S /usr/sbin/smbd -D -l /opt/var/log/smbd.log -s /opt/et
137 admin 1000 S /usr/sbin/nmbd -D -n WL500GP -o -l /tmp -s /opt/etc/s
140 admin 468 S dropbear
150 admin 444 S upnp -D -L br0 -W ppp0
152 admin 548 S -sh
158 admin 396 R ps
改机后重启。但是网上邻居仍然是见part0 在 WL500g.Premium (Wl500g.premium) 上及part1 在 WL500g.Premium (Wl500g.premium) 上,都不法访问。
能不能告诉我可能问题出在那里?谢谢版主。
離線
#30 2008-10-07 22:43:09
Re: ASUS WL-500gP BT下载
是下面这段吗?
編輯 SAMBA 設定檔
$ nano /opt/etc/samba/smb.conf
內容:
[global]
workgroup = Workgroup
guest account = admin
security = share
browseable = yes
guest ok = yes
guest only = no
log level = 1
max log size = 100
encrypt passwords = yes
dns proxy = no
[Share]
path=/opt/share
writeable = yes
browseable = yes
[USB]
path=/tmp/mnt/disc1
writeable = yes
browseable = yes
我是用VI编辑的。我不会NANO
我可能哪里错了?谢谢!
離線
相關討論主題
主題 | 回覆 | 點閱 | 最後發表 |
---|---|---|---|
ASUS RT-N66U刷Shibby 140 MultiWAN後設定為無線AP 作者 lcjh20516
|
0 | 2354 | 2022-08-26 12:56:28 作者 lcjh20516 |
|
159 | 383221 | 2022-08-14 06:06:27 作者 lcjh20516 |
|
21 | 83352 | 2022-08-14 05:54:54 作者 lcjh20516 |
置頂 |
132 | 372869 | 2022-06-07 10:13:50 作者 dennys |
|
45 | 139710 | 2022-05-06 14:32:17 作者 max7441 |