I still can access from port 21 ( I have disabled it into iptables) :(
How I can install/get gcc on my asus?
Printable View
Hi!
I am unable to add torrents to the download list, any ideas? All software is up to date to the latest versions.
i have a doubt regarding the disk connected to the router. after i follow the 4rd point of the tutorial and activate the swap and ipkg partitions can i start the router without the disk connected?
Good morning :)
I need help with php-mysql.
I know that in this forum somwhere is the answer, but I cant found :(
So ...
I have done thttpd and mysql by this tutorial
but
php version 5.2.10 ( now 5.2.11) isn't working with mysql version 4.1.22
Only php version which is working is 5.2.9
( this I noticed in php.php file. and I can't login to my webpage using mysql)
So what should I do, to solve the problem?
Thank You and I hope You understud something. My ENG is bad
This is definitly the wrong thread to ask php-mysql related things....
wengi
Hi,
should do this trick, it's the 'connection' bewtween php and mysql.Code:ipkg install php-mysql
As found in: http://www.wl500g.info/showthread.php?t=20306 which is found in the tutorial section.
(but, like wengi says.. this topic isn't about mysql/php)
Hi, i have a problem with the fdisk command i supose.
My hardware is: WL-500gP2, with Oleg 1.9.2.7-10-USB-1.71Code:[admin@asus root]$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 3008 3008 0 100% /
[admin@asus root]$ fdisk /dev/discs/disc0/disc
Unable to open /dev/discs/disc0/disc
And a Hdd WD 1TB My Book. I have made the HDD ext3, ntfs, fat 32, swap...and all the same...where could i be wrong. Please
I what to make my Hdd a Server for Php mysql and apache.
Thank you in advance.
Hello and welcome to the forum,
Let us see if your hdd is recognized.
Please post the result of
Please replace the /result/of/first/ls with the output of first command.Code:ls -lah /dev/discs/
ls -lah /dev/result/of/first/ls
This should result in something like this:
Also post the result ofCode:[admin@blechbuechse root]$ ls -lah /dev/discs/
total 0
drwxr-xr-x 1 admin root 0 Jan 1 1970 .
drwxr-xr-x 1 admin root 0 Jan 1 1970 ..
lr-xr-xr-x 1 admin root 30 Jan 1 1970 disc0 -> ../ide/host0/bus0/target0/lun0
[admin@blechbuechse root]$ ls -lah /dev/ide/host0/bus0/target0/lun0/
total 0
drwxr-xr-x 1 admin root 0 Jan 1 1970 .
drwxr-xr-x 1 admin root 0 Jan 1 1970 ..
brw------- 1 admin root 3, 0 Jan 1 1970 disc
brw------- 1 admin root 3, 1 Jan 1 1970 part1
brw------- 1 admin root 3, 2 Jan 1 1970 part2
brw------- 1 admin root 3, 3 Jan 1 1970 part3
wengiCode:dmesg | grep -i usb
dmesg | grep -i ide
Thank you for your prompt reply, wengi !
I have my HDD formated and partioned - with Partition Magic in Wdos - like this:
1 - 400 GB NTFS
2 - 400 GB NTFS
3 - 99 GB FAT 32
this is the code you've asked me for
Code:[admin@asus root]$ ls -lah /dev/discs/
drwxr-xr-x 1 admin root 0 Jan 1 1970 .
drwxr-xr-x 1 admin root 0 Jan 1 1970 ..
lr-xr-xr-x 1 admin root 31 Jan 1 1970 disc0 -> ../scsi/host1/bus0/target0/lun0
[admin@asus root]$ ls -lah /dev/scsi/host1/bus0/target0/lun0
drwxr-xr-x 1 admin root 0 Jan 1 1970 .
drwxr-xr-x 1 admin root 0 Jan 1 1970 ..
brw------- 1 admin root 8, 0 Jan 1 1970 disc
Code:[admin@asus root]$ dmesg | grep -i usb
usb.c: USB disconnect on device 00:03.0-1.1 address 7
usb.c: kusbd: /sbin/hotplug remove 7
hub.c: new USB device 00:03.0-1.1, assigned address 8
usb.c: kmalloc IF 8190fa40, numif 1
usb.c: new device strings: Mfr=1, Product=2, SerialNumber=3
usb.c: USB device number 8 default language ID 0x409
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 8
usb.c: usb-storage driver claimed interface 8190fa40
usb.c: kusbd: /sbin/hotplug add 8
usb.c: USB disconnect on device 00:03.0-1.1 address 8
usb.c: kusbd: /sbin/hotplug remove 8
hub.c: new USB device 00:03.0-1.1, assigned address 9
usb.c: kmalloc IF 8190f900, numif 1
usb.c: new device strings: Mfr=1, Product=2, SerialNumber=3
usb.c: USB device number 9 default language ID 0x409
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 9
usb.c: usb-storage driver claimed interface 8190f900
usb.c: kusbd: /sbin/hotplug add 9
[admin@asus root]$ dmesg | grep -i ide
Hmm....
disc is there, but no partitions.
can you partition the disk with fdisk as stated in the tut?
(Not with external programs)
wengi
here is what i've tried to do...and didn't work...
If i tryCode:[admin@asus root]$ ls -lah /dev/discs/
drwxr-xr-x 1 admin root 0 Jan 1 1970 .
drwxr-xr-x 1 admin root 0 Jan 1 1970 ..
lr-xr-xr-x 1 admin root 31 Jan 1 1970 disc0 -> ../scsi/host1/bus0/target0/lun0
[admin@asus root]$
[admin@asus root]$ fdisk /dev/scsi/host1/bus0/target0/lun0
You will not be able to write the partition table.
Unable to read /dev/scsi/host1/bus0/target0/lun0
[admin@asus root]$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 3008 3008 0 100% /
[admin@asus root]$
:(Code:[admin@asus root]$ fdisk /dev/discs/disc0/disc
Unable to open /dev/discs/disc0/disc
Sorry, no idea atm.
Could you try another hdd/usbstick?
Just to check if it is a general or particular problem.
wengi