Hi i was just wondering why i can't connect to ma usb hdd?? any clue?
on that hdd i have first partition ntfs, second after format swap and last one ext3
[admin@(none) root]$ dmesg |grep sda
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB)
Jan 1 00:00:04 kernel: ehci_hcd 01:03.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
Jan 1 00:00:04 kernel: hub.c: USB hub found
Jan 1 00:00:04 kernel: hub.c: 4 ports detected
Jan 1 00:00:05 kernel: usb.c: registered new driver usblp
Jan 1 00:00:05 kernel: printer.c: v0.13: USB Printer Device Class driver
Jan 1 00:00:05 kernel: usb.c: registered new driver audio
Jan 1 00:00:05 kernel: audio.c: v1.0.0:USB Audio Class driver
Jan 1 00:00:05 kernel: hub.c: connect-debounce failed, port 2 disabled
Jan 1 00:00:05 kernel: SCSI subsystem driver Revision: 1.00
Jan 1 00:00:05 kernel: Initializing USB Mass Storage driver...
Jan 1 00:00:05 kernel: usb.c: registered new driver usb-storage
Jan 1 00:00:05 kernel: USB Mass Storage support registered.
Jan 1 00:00:05 kernel: hub.c: new USB device 01:03.2-2, assigned address 2
Jan 1 00:00:06 kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Jan 1 00:00:06 kernel: Vendor: USB Model: Storage Rev: 1.04
Jan 1 00:00:06 kernel: Type: Direct-Access ANSI SCSI revision: 02
Jan 1 00:00:06 kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Jan 1 00:00:06 kernel: SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB)
Jan 1 00:00:06 kernel: Partition check:
Jan 1 00:00:06 kernel: SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 70000
Jan 1 00:00:06 kernel: I/O error: dev 08:00, sector 0
Jan 1 00:00:06 kernel: SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 70000
Jan 1 00:00:06 kernel: I/O error: dev 08:00, sector 2
Jan 1 00:00:06 kernel: SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 70000
Jan 1 00:00:06 kernel: I/O error: dev 08:00, sector 4
Jan 1 00:00:06 kernel: SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 70000
Jan 1 00:00:06 kernel: I/O error: dev 08:00, sector 6
Jan 1 00:00:06 kernel: SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 70000
Jan 1 00:00:06 kernel: I/O error: dev 08:00, sector 0
Jan 1 00:00:06 kernel: SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 70000
Jan 1 00:00:06 kernel: I/O error: dev 08:00, sector 2
Jan 1 00:00:06 kernel: SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 70000
Jan 1 00:00:06 kernel: I/O error: dev 08:00, sector 4
Jan 1 00:00:06 kernel: Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Jan 1 00:00:06 kernel: SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 70000
Jan 1 00:00:06 kernel: I/O error: dev 08:00, sector 6
Jan 1 00:00:06 kernel: unable to read partition table
Jan 1 00:00:06 kernel: usb.c: USB disconnect on device 01:03.2-2 address 2
Jan 1 00:00:06 portmap[102]: user rpc not found, reverting to user bin
Jan 1 00:00:06 statd[103]: Version 1.0.7 Starting
Jan 1 00:00:06 statd[103]: statd running as root. chown /var/lib/nfs/sm to choose different user
Jan 1 00:00:06 statd[103]: gethostbyname error for (none)
Jan 1 00:00:07 kernel: vlan1: Setting MAC address to 00 1d 60 46 90 37.
Jan 1 00:00:07 kernel: VLAN (vlan1): Underlying device (eth0) has same MAC, not checking promiscious mode.
Jan 1 00:00:07 udhcpc[112]: udhcpc (v0.9.9-pre) started
Jan 1 00:00:07 dnsmasq[75]: read /etc/hosts - 4 addresses
Jan 1 00:00:07 dnsmasq[75]: reading /tmp/resolv.conf
Jan 1 00:00:07 dhcp client: deconfig: lease is lost
Jan 1 00:00:07 udhcpc[112]: Lease of xxxxxx obtained, lease time 86484
Jan 1 00:00:07 dnsmasq[75]: read /etc/hosts - 4 addresses
Jan 1 00:00:07 dnsmasq[75]: reading /tmp/resolv.conf
Jan 1 00:00:07 dnsmasq[75]: using nameserver 212.76.33.102#53
Jan 1 00:00:07 dnsmasq[75]: using nameserver 212.76.33.104#53
Jan 1 00:00:08 dropbear[129]: Running in background
Jan 1 00:00:08 dhcp client: bound IP : xxxxxxxxxx from xxxxxxxxxxxxx
Jan 1 00:00:17 kernel: Device 08:00 not ready.
Jan 1 00:00:17 kernel: I/O error: dev 08:00, sector 2
Jan 1 00:00:17 kernel: EXT3-fs: unable to read superblock
Jan 1 00:00:17 kernel: MSDOS FS: Using codepage 950
Jan 1 00:00:17 kernel: MSDOS FS: IO charset cp950
Jan 1 00:00:17 kernel: Device 08:00 not ready.
Jan 1 00:00:17 kernel: I/O error: dev 08:00, sector 0
Jan 1 00:00:17 kernel: FAT: unable to read boot sector
Jan 1 00:00:17 kernel: FAT: freeing iocharset=cp950
Jan 1 00:00:17 kernel: Device 08:00 not ready.
Jan 1 00:00:17 kernel: I/O error: dev 08:00, sector 0
Jan 1 00:00:17 kernel: FAT: unable to read boot sector
Jan 1 00:00:17 kernel: Device 08:00 not ready.
Jan 1 00:00:17 kernel: I/O error: dev 08:00, sector 0
Jan 1 00:00:17 kernel: NTFS: Reading super block failed
Jan 11 17:55:29 ntp client: Synchronizing time with time.nist.gov ...
Jan 11 17:59:10 login[150]: root login on `pts/0'
Jan 11 18:00:11 kernel: hub.c: connect-debounce failed, port 2 disabled
Jan 11 18:01:21 kernel: hub.c: connect-debounce failed, port 2 disabled
Jan 11 18:01:45 kernel: hub.c: connect-debounce failed, port 2 disabled
Jan 11 18:02:09 kernel: hub.c: connect-debounce failed, port 2 disabled
Last edited by Syl; 11-01-2008 at 18:37.
Ü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)
My Compliments for this very helpfull Tutorial!!
But i have 2 strange things.
First i had a problem with Cron
The problem is: after a reboot, i have start cron myself.
i did many times, the CRON part, but everytime, after reboot, and pressing ps axf. He didn't show it:
after each reboot, i start it manual by typing cronCode:PID TTY STAT TIME COMMAND 1 ? S 0:01 /sbin/init 2 ? S 0:00 [keventd] 3 ? RN 0:00 [ksoftirqd_CPU0] 4 ? S 0:00 [kswapd] 5 ? S 0:00 [bdflush] 6 ? S 0:00 [kupdated] 7 ? S 0:00 [mtdblockd] 63 ? S 0:00 telnetd 67 ? S 0:28 httpd 72 ? S 0:00 klogd 73 ? S 0:00 syslogd -m 0 -O /tmp/syslog.log -S -l 7 74 ? S 0:00 [khubd] 83 ? Ss 0:00 lpd 85 ? Ss 0:00 p9100d -f /dev/usb/lp0 0 88 ? Ss 0:00 waveservermain 90 ? Ss 0:00 rcamdmain 92 ? Ss 0:00 infosvr br0 93 ? Ss 0:00 watchdog 94 ? Ss 0:00 \_ ntp 102 ? S 0:00 dropbear 123 ? Ss 0:00 \_ dropbear 124 pts/0 Ss 0:00 \_ -sh 127 pts/0 R+ 0:00 \_ ps axf 107 ? S 0:00 [usb-storage-0] 108 ? S 0:00 [scsi_eh_0] 114 ? S 0:00 [kjournald] 115 ? S 0:00 [kjournald]
so i could go on with the tutorial.
But at Part 9. TRANSMISSION (The torrent Client)
i have a prolbem at the end. the problem is by typing:
192.168.1.150:8008/cgi-bin/transmission.cgi
i get the message:
that's dutch for:Code:Kan geen verbinding maken Firefox kan geen verbinding maken met de server op 192.168.1.150:8008. * Misschien is de website tijdelijk niet beschikbaar of overbelast. Probeer over enkele ogenblikken opnieuw. * Controleer uw netwerkverbinding indien u geen enkele pagina kunt laden. * Verzeker u ervan dat Firefox toegang heeft tot het web als uw computer of netwerk beveiligd is door een firewall of proxyserver.
Cannot make connection
Firecox cannot connect the server on 192.168.1.150:8008
Can you help me with these 2 problems?
If your wive can bring up the patience again
I hope,
greetings Emiel
@Arbadelli
First of all: It seems that i missed your post. Sorry for the late reply.
Your problem ist rc.unslung!! The script is not executed.
- cron is not working
- syslog is not logging to /opt/var...
- busybox httpd is not running with transmission webinterface.
Check your post-boot if rc.unslung is started.
Check the content of rc.unslung
Make sur rc.unslung is executable
@Syl
There is something wrong with your partition table.Code:Jan 1 00:00:06 kernel: unable to read partition table Jan 1 00:00:06 kernel: usb.c: USB disconnect on device 01:03.2-2 address 2
I recommend deleting the partitions and recreate them directly on the asus.
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)
WENGI VIELEN DANK!!
Thanks for your answer!
No problem it was a day later, it gives me more time to think about it
Now i have solved the problem down here ( How? use in the webinterface a password, if you leave it blank, then it doesn't work!)
Now, i have a little problem with 10. SAMBA2
i have done that one, and when i use ps axf everything is running well, but when i put in 192.168.1.150:901 ( in web ). He cannot make connection:
I think i have problems with logging in. or the IP or your following text:Code:401 Bad Authorization username or password incorrect
This is my script:Code:You should cutomize the IP settings as you need them and exchange "user = root" with admin -> "user = admin".
My homenetwork ( maybe interesting to know )PHP Code:service swat
{
port = 901
socket_type = stream
wait = no
only_from = localhost 192.168.1.1/24
user = admin
server = /opt/sbin/swat
log_on_failure += USERID
disable = No
}
~
the modemcable goes to my Linksys WRT54G
i connected 2 pc's with this one, and one UTP cable is going to 1 LAN port of my Asus WL500gp. In another LAN port i plugged another UTP for one pc ( so, i can see if the router has got internet yes or no )
the WRT54G ip is 192.168.1.1
the WL500GP ip is 192.168.1.150
My username to get with web or putty in is admin
( i changed the password, as you said in your tut)
so, how does my vi /opt/etc/xinetd.d/swat has to look like?
I tried many things, but i think not the good one.
thanks for your help offcourse![]()
Last edited by Arbadelli; 18-01-2008 at 23:15. Reason: 401 Bad Authorization also put in this text
Hello, everyone..
Here i am back again
i have got the next problem:
I've got 2 torrents in my Transmiossion.cgi, they are waiting now for about 1 hour, but the won't download. They are in the Active menu.
Progress: 0.00 %, 0 peers, dl from 0 (0.00 KB/s), ul to 0 (0.00 KB/s) Start: 01 Jan 01:01 End: 01 Jan 01:02 uploaded: 0.0 MB
How can i fix this problem, i think this is my last problem with Transmission, So i hope it's the last one, i am close to the end!
Thanks for helping and solving my last problem
EDIT:
i get the following information:
an 1 01:05:45 transmissiond[362]: Transmission daemon 1.01+ (4684) started - http://transmission.m0k.org/ at port 65534
Jan 1 01:05:45 transmission_watchdog: Transmission daemon restarted!
Jan 1 01:05:46 transmissiond[362]: Starting torrent /tmp/harddisk/torrent/work/Davilex Business Software.amp/Davilex Business Software.amp.torrent
Jan 1 01:05:46 transmissiond[362]: Starting torrent /tmp/harddisk/torrent/work/Trein/Trein.torrent
Jan 1 01:10:46 transmissiond[362]: Tracker: Error - Tracker could not be reached.
Jan 1 01:10:46 transmissiond[362]: Previous message repeated 3 times
and one extra question,
how can i put the right time in the router?
thanks for helping
Last edited by Arbadelli; 20-01-2008 at 17:12. Reason: More information ( Tracker Error - Tracker could not be reached
Hi,
it is always a good idea to test transmission with a 100% working torrent file.
E.g. use OpenOffice as torrent: http://distribution.openoffice.org/p2p/index.html
If this does not work you will have to check if the port is opened and reachable.
For time adjustment: Use Webinterface or ntpclient in shell.
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)
EVERYTHING IS WORKING NOW!!!
Thanks a lot, i had one problem because i had 2 routers, and a modem.
I put the wrong default gateway in my Asus,
I told ( with that gateway ) he had to go the modem. but he had to go to the wrt54g router, because there was the port forwarding.
But anyway
Many thanks..
(shy) do you have also made a Tutorial for a webserver with php and mysql on my router??
So i can put here a online DVD Sofware on it ( http://vcddb.konni.com/
with this software i can make my own DVD LibrarieSee the link for information
Very thanks for helping
Hi,
no, i have no howto for php/mysql. But there are some postings in the forum about this.
Just to have it mentioned: An installation of apache / php / mysql will REALLY slow down you asus. And i mean slow!
But as i read, it can work.
Just give it a try.
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)
Ok, Thanks for looking around!
But can i go with the different tutorials? or can i get problems with the Transmission tutorial?
I also looked at http://www.macsat.com/macsat/content/category/3/13/29/
and can i go on with this tut or can i get problems?
thanks for the answer again.
Greetings Arbadelli
Hi,
you can use any Tut you want.
Only one important thing: You allready have the "better ipkg" that is mentioned by macsat (http://www.macsat.com/macsat/content/view/73/29/).
You can directly start with " ipkg install mysql"
If you are going to change the username from "admin" to "root" there is one more thing:
You will also have to change your samba config to use "root" as guest account.
Have fun.
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)
Hi there!
At the Step 2 (the ping commands) I can see that I don't have internet access on my asus. :'o(
After I connected with telnet, when I do ping www.google.com I have "UNKNOWN HOST"
and when I put the IP adress of the google server, I have "NETWORK UNREACHABLE"
The bizarre thing is that the computers connected to the Asus receive an IP adress and have access to the Internet without any problem...
I have no idea what and where I should look to find a solution. Anybody can help me in telling me where I should investigate?
Thanks!
PS: I use the firmware 1.9.2.7-8 and I don't use the WAN port. I use the LAN only.
Last edited by none; 25-01-2008 at 13:20.
Me again...
I did the ROUTE command and a friend told me that the Gateway was missing... so I did the following command:
route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.1.1 dev br0
and then I could access internet from my asus box...
and do a ping on an ip of an internet website.
but each time I restart the asus, it looses the information
1. Why do I have to put the gateway by hand? Is there a filed I missed in the web interface`?
2. If I cannot use the webinterface... is there any config where I can save that new route table?
Thanks a lot for your help!
Hi,
in -8 and later firmwares you have to set the default gateway in the webinterface.
IP Config -> LAN -> default gateway
This will do the job
wengi
Edit: I changed the text in the HowTo to make this more clear.
Last edited by wengi; 25-01-2008 at 15:24.
Ü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)