Schaffe es nicht das IPKG zu Installieren.
Hallo ! Danke erstmal für die Super Anleitung !
Ich habe einen WL500GP mit einer Ext. USB Paltte aber ich schaffe es nicht das IPKG zu Installieren......
Ich habe meinen WL500gp als Router bei dem AP meines Providers drann mit der IP Adresse 192.168.1.1
DHCP wird von dem AP gemacht !
Wenn ich Ip config mache sehe ich
DHCP-Server . . . . . . . . . . . : 192.168.1.1
Standardgateway . . . . . . . . . : 192.168.1.1
Ich kann im Windows super ins Intenet
Aber per Telnet kann ich keine Internet Seite Aufrufen !
Ich habe mich fest an die Anleitung gehalten nur nach Punkt 4b
komme ich nicht mehr weiter !
wget http://ipkg.nslu2-linux.org/feeds/op...3-9_mipsel.ipk
ipkg.sh install ipkg-opt_0.99.163-9_mipsel.ipk
Folgende Fehler Meldung !
[admin@ASUS-Router root]$ ipkg.sh install ipkg-opt_0.99.163-9_mipsel.ipk
ERROR: File not found: /opt/lib/ipkg/lists/wl500g
You probably want to run `ipkg update'
tar: Short read
tar: Short read
ipkg_install_file: ERROR unpacking control.tar.gz from ipkg-opt_0.99.163-9_mips
l.ipk
Hier meine post-boot !!!!!!!!!!!
#!/bin/sh
dropbear
# test if USB disc has been attached
# if not - then insert needed modules
#
# Die folgenden 4 Rauten entfernen, wenn eine USB-Platte angeschlossen ist. Beim
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
# Activate swap
swapon /dev/discs/disc0/part1
# Mount the rest
mount /dev/discs/disc0/part3 /tmp/harddisk
mount /dev/discs/disc0/part4 /tmp/harddisk
# Run all active services - active means starts with S
/opt/etc/init.d/rc.unslung
echo "192.168.1.1" > /etc/resolv.conf
Ps. Wegen dem DHCP Problem bei Olegs Fireware !
Stimmt die Zeile oben ?
Soll ich da jetzt den
Standardgateway . . . . . . . . . : 192.168.1.1 eintragen vom AP des Provider oder die DNS IP ?
/opt/etc/profile oder /etc/profile ?
Hi,
habe einen 500gP und mit deinem Tutorial fast komplett alles zum Laufen bekommen... Respekt, da ist alles drinn :-)
Nur bei dem profile hats gehapert...
Bei dir steht folgendes:
Code:
echo "export TERMINFO=/opt/share/terminfo">>/opt/etc/profile
echo "alias mc=\"mc -c\"">>/opt/etc/profile
D.h. es werden die o.g. 2 Zeilen nach /opt/etc/profile geschrieben.
Soweit, so gut. Obwohl nun in der /etc/profile steht:
Code:
[ -x /usr/local/etc/profile ] && . /usr/local/etc/profile
[ -x /opt/etc/profile ] && . /opt/etc/profile
wird die /opt/etc/profile bei mir nicht ausgeführt.
In einem englischen Tutorial habe ich dann gefunden, dass man folgendes in die /usr/local/sbin/post-boot eintragen soll:
Code:
#to let midnight commander run on terminals, make alias for colored mc
echo "export TERMINFO=/opt/share/terminfo">>/etc/profile
echo "alias mc=\"mc -c\"">>/etc/profile
Damit werden die Einträge bei jedem Neustart in die /etc/profile geschieben, welche auf jeden Fall bei jedem Einloggen ausgeführt wird.
Bei mir funktionieren jetzt auch endlich die aliase :-)
Vielleicht hilfts ja noch wem.
TJ
/opt/var/log/messages not readable
Hallo !
Habe wiedermal ein problem mit Transmission !
nach einem reboot von dem WL500gp laufen folgende Processe.
PID Uid VmSize Stat Command
1 admin 460 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 256 S telnetd
64 admin 316 S httpd vlan1
71 admin 252 S klogd
72 nobody 344 S dnsmasq
77 admin SW [khubd]
86 admin 168 S lpd
88 admin 168 S p9100d -f /dev/usb/lp0 0
91 admin 196 S waveservermain
93 admin 196 S rcamdmain
97 admin SW [usb-storage-0]
98 admin SW [scsi_eh_0]
108 admin 200 S infosvr br0
109 admin 424 S watchdog
112 admin 232 S ntp
119 admin 220 S dropbear
121 admin SW [kjournald]
126 admin SW [kjournald]
161 admin 420 S /usr/sbin/busybox_httpd -c /opt/etc/httpd.conf -p 800
165 admin 428 S stupid-ftpd
178 admin 496 S upnp -D -L br0 -W vlan1
292 admin 556 S -sh
520 admin 396 S /sbin/syslogd -m 0 -O /opt/var/log/messages -S -l 7
523 admin 412 S /opt/sbin/cron
529 admin 564 S /opt/sbin/xinetd
544 admin 1292 S /opt/sbin/smbd -D
546 admin 1188 S /opt/sbin/nmbd -D
547 admin 404 R ps
Wenn ich aber Transmission im Internet Explorer aufrufen will geht es nicht !
Auch habe ich keinen Zugriff auf den Torrent ordner auf der Festplatte.
Wenn ich folgende Datei starte ...
/usr/local/sbin/post-boot
kommt folgende Meldung !
mount: Mounting /dev/discs/disc0/part2 on /opt failed: Device or resource busy
swapon: /dev/discs/disc0/part1: Device or resource busy
mount: Mounting /dev/discs/disc0/part4 on /tmp/harddisk failed: Device or resour ce busy
/opt/etc/init.d/S05syslogd: /opt/etc/init.d/S05syslogd: 11: cannot create /opt/v ar/log/messages: Input/output error
rm: cannot remove `/tmp/syslog.log': No such file or directory
Starting busybox httpd at port 8008 ... busybox_httpd: bind: Address already in use
done
Stopping smbd:
Stopping nmbd:
Starting smbd:
Starting nmbd:
Dann geht der zugriff auf den Ordner und Transmission auch bis auf folgendes.
Bekomme folgende Fehlermeldung wenn ich auf LOG drücke.
/opt/var/log/messages not readable. Properly configure syslogd at system startup
Bekomme folgende Meldung wenn ich auf List düucke ..
syslog: /opt/var/log/messages unavailable for transfer stats!
Download geht aber ??
Leider hab ich null Ahnung was ich jetzt machen soll !
Bin soweit das ich am liebsten alles lösche und von vorne Anfange !
Lg. Simond :confused: