PDA

Bekijk de volledige versie : newly installed openwrt, ipkg update error...



mutejute
13-02-2006, 02:45
i just flashed my wl-hdd to openwrt. it boots and works fine. have set the passwd for root already. now my next tasks would be to mount the harddisk, then samba, http server, etc..

now i was trying to run "ipkg update" but theres an error:

root@OpenWrt:~# ipkg update
Downloading http://downloads.openwrt.org/whiterussian/packages/Packages
wget: downloads.openwrt.org: Unknown host
Downloading http://downloads.openwrt.org/whiterussian/packages/non-free/Packages
wget: downloads.openwrt.org: Unknown host
An error ocurred, return value: 2.
Collected errors:
ipkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp -q -P /tmp/ipkg-jnLwGE http://downloads.openwrt.org/whiterussian/packages/Packages'
ipkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp -q -P /tmp/ipkg-jnLwGE http://downloads.openwrt.org/whiterussian/packages/non-free/Packages'
root@OpenWrt:~#

i havent done anything yet with my newly installed openwrt except for changing the password. i have no clue on what to do next. ipkg gives an error. do i need to set up something first before running ipkg? btw, prior to flashing openwrt, previous fw was oleg (latest version).

i noticed too that http server is running but the /www directory contains nothing. i created index.html in it and then i can view the page in the browser. so im just wondering, there is no web-based admin page for openwrt? because oleg and asus have one.

many thanks.

mutejute
13-02-2006, 04:29
my dns seems to work now. i had to delete the symlink /etc/resolv.conf and created a new /etc/resolv.conf with nameserver 192.168.1.1 .

ipkg can get/install files now.

now my problem is mounting the ide harddisk inside the wl-hdd. there is no /dev/ide nor /dev/scsi in /dev/ directory. so how do i mount it? i have ipkg-installed kmod-ext2 kmod-ext3 kmod-vfat already. my 80gb hdisk is using ext3 format. here's my /dev list:

console kmem misc null ptmx random tty
full log mtd nvram pts root urandom
gpio mem mtdblock port pty shm zero

many thanks.

mutejute
13-02-2006, 10:23
i was able to mount my harddisk already. samba is already working. now its time for lighttpd. :)