macsat.com OpenWrt and ASUS WL Forum
December 04, 2008, 02:18:30 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?
Login with username, password and session length
News: Back to macsat.com
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Installing OpenWRT tutorial mistake  (Read 4830 times)
0 Members and 1 Guest are viewing this topic.
Ludek
Newbie
*
Offline Offline

Posts: 2


View Profile
« on: March 03, 2006, 18:47:04 PM »

Hi, i found little mistake in your tutorial

....If it dosnt work, your might have your WAN interface connected to a 192.168.1.XXX network, try setting up the nvram variables slightly different:

nvram set lan_ipaddr=192.168.0.1 < enter >
nvram commit < enter > .....

....nvram set lan_gateway=192.168.1.1
nvram set dhcp_start=192.168.1.50
nvram set dhcp_end=192.168.1.75
nvram commit ......

Is this correct ?

Ludek
Logged
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #1 on: March 04, 2006, 15:41:30 PM »


It is correct that if you for some reason cant use 192.168.1.1 you need to set the ip address to something different, and 192.168.0.1 is one option.


If you use 192.168.0.1 all other ip addresses set should be in the same subnet (192.168.0.XXX), like 192.168.0.50 and so on.

Logged
Pjotrek
Jr. Member
**
Offline Offline

Posts: 67


Systems Architect Emeritus


View Profile WWW
« Reply #2 on: March 27, 2006, 18:42:28 PM »

Hi, I found that you say in the tutorial:

Quote
Sometimes you will be met with: "passwd: An error occurred updating the password file."
This is a well known bug. The easiest way around it, is by rebooting the router, and login again using telnet, second time seems to work every time.
[\quote]

I think this is not a bug, but inherent in the jffs2 implementation. The 'Release Notes' for RC5 say:

Quote
    *** NOTE: The JFFS2 firmware uses an extra setup step ***
    *** which requires an ADDITIONAL REBOOT before          ***
    *** the filesystem can be used.                                        ***
[\quote]

/PjK
« Last Edit: March 27, 2006, 18:48:13 PM by Pjotrek » Logged
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #3 on: March 27, 2006, 19:48:09 PM »


You are quite right Pjotrek - I've known this for a while, I just forgot about the comment in the Tutorial.

I will correct it right away.
Logged
Wolf
Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #4 on: April 16, 2006, 14:44:42 PM »

Hi, I just want to report a slight mistake - in the Installing OpenWRT tutorial there is a command

Code:
insmod _ipt_LOG

but instead, there should be

Code:
insmod ipt_LOG


In addition, I can share my experience of running the tutorials on Asus WL500b - there are a few differences:

1) To set the MAC address of WAN port, the nvram variable is et1macaddr, so you should use something like this:

Code:
nvram set et1macaddr=xx:xx:xx:xx:xx:xx

2) Before clearing the NVRAM after OpenWRT is installed over another firmware, it may be a good idea to look at it to see the old firmware settings:

Code:
nvram show

At least, you can determine the interface name variables for your router. It is also usefull to look at it after it was cleared and before performing tutorial "nvram set" commands for LAN and WAN configuration, as many of the variables are already set (strange when it was just cleared, maybe this is why they say it is not safe to reset to factory defaults or clearing the NVRAM on WL500b, anyways it works for me...).

3) On my 500b, uhci module doesn't work. To support USB, ohci must be installed instead. So you have to run

Code:
ipkg install kmod-usb-ohci

instead of

Code:
ipkg install kmod-usb2

4) When mounting an USB flash disk, it may be a good idea to disable update of atime attribute to avoid the exhausting of the flash memory write cycles:

Code:
mount /dev/scsi/host0/bus0/target0/lun0/part1 /opt -o noatime

5) It can be usefull to have a swap partition on the USB storage, because WL500b has only 14 MB of RAM. To support swapping, the swap-utils package:

Code:
ipkg update
ipkg install swap-utils

Now the swap partition must be activated. Consider adding something like a following command in one of your startup scripts.

Code:
swapon /dev/scsi/host0/bus0/target0/lun0/part2

6) fdisk and mke2fs tools are hopefully supported in OpenWRT. You have to setup /etc/ipkg.conf for accessing the OpenWRT backport repository as described here: http://wiki.openwrt.org/OpenWrtDocs/Packages

Code:
ipkg install fdisk
ipkg install e2fsprogs
« Last Edit: April 16, 2006, 14:46:55 PM by Wolf » Logged
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #5 on: April 17, 2006, 13:54:45 PM »


Thanks for the comments :-)

I know about the e2fsprogs and the swaputils....and have wanted to expand the tutorials to include theese - just havent got time.

One of theese days I will :-)

Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

English Steel 1.6 © Saxon North Technologies
Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.192 seconds with 24 queries.