Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21

Thread: Password changing issue after flashing open-wrt firmware

  1. Here is ifconfig output:

    eth0 Link encap:Ethernet HWaddr 00:1A:92:B4:46:4E
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:2053 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1204 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:472890 (461.8 KiB) TX bytes:854691 (834.6 KiB)
    Interrupt:4

    eth0.0 Link encap:Ethernet HWaddr 00:1A:92:B4:46:4E
    inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:1108 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1205 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:75520 (73.7 KiB) TX bytes:849683 (829.7 KiB)

    eth0.1 Link encap:Ethernet HWaddr 00:1A:92:B4:46:4E
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    According to your advice I changed LAN IP address to 192.168.1.2 (not 192.168.2.1 as you said), because I know so my IP address of ADSL-modem is 192.168.1.1 and my PC and notebook are in the 192.168.1.x range.
    Unfortunatelly, I do not know how I can refresh IP setting of router, that is why I rebooted it to commit changes.
    As you can see above, my router cannot get WAN side IP. Any idea?

  2. #17
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    190
    Please change youre router to 192.168.2.1 you cant run 2 dhcp servers on the same network range and reload the ip adress of all the pc's connected

    all connected devices are now 192.168.2.*

    Openwrt or Custom Firmware on asus? - http://wl700ge.hezik.nl/ - Http://wl700g.homelinux.net

    My ASUS collection: WL500gp(80GB usb-hdd - Running OpenWrt Kamikaze 7.09) | WL700gE(250GB - Running OpenWrt Kamikaze 8.09rc1)

  3. Hi back2basic,


    I did exactly what you said, I set up 192.168.2.1 IP address of my router, after that I set up ADSL settings in /etc/config/network. Here is significant part of that config file:

    #### LAN configuration
    config interface lan
    option type bridge
    option ifname "eth0.0"
    option macaddr "00:1A:92:B4:46:4E"
    option proto static
    option ipaddr 192.168.2.1
    option netmask 255.255.255.0


    #### WAN configuration
    config interface wan
    option ifname "eth0.1"
    # option macaddr "00:1a:92:b4:46:4f"
    # option proto dhcp
    option proto pppoe
    option username "myusername"
    option password "mypassword"
    option keepalive 10

    However, after reboot nothing happened, I do not have ADLS connection yet.

    To tell the truth I do not understand few things:

    1. What is the point of I set up 192.168.2.1 IP address? Why would be good 192.168.1.1?

    2. If I am listing running process (with ps), why I can't find pppd or something like that?

    3. Should I create an ppp entry in /etc/config/network file?

    By the way, I have a workaround theory, it is just an idea: I downloaded latest web if (webif_latest.ipk), since I hope so, if I could manage to set up LAN/WAN/ADSL settings via web if, I would see the proper settings in /etc/config/network file too. That is why I copied ipk file of web if to USB drive with NTFS filesystem. Could you help me how I can mount that? I tried:

    mount -t ntfs /dev/scsi/host0/bus0/target0/lun0/part1 /mnt/usb
    and
    mount -t vfat /dev/scsi/host0/bus0/target0/lun0/part1 /mnt/usb

    (I had created /mnt/usb)

    but I did not have any success, mount is failed.


    P.S.: One more strange thing I experienced, if I release 'ifup wan' command, I get this error:

    "Interface type pppoe not supported."
    Last edited by metamorphose; 14-10-2008 at 21:51.

  4. #19
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    190
    Quote Originally Posted by metamorphose View Post
    Hi back2basic,

    ****.

    By the way, I have a workaround theory, it is just an idea: I downloaded latest web if (webif_latest.ipk), since I hope so, if I could manage to set up LAN/WAN/ADSL settings via web if, I would see the proper settings in /etc/config/network file too. That is why I copied ipk file of web if to USB drive with NTFS filesystem. Could you help me how I can mount that? I tried:

    mount -t ntfs /dev/scsi/host0/bus0/target0/lun0/part1 /mnt/usb
    and
    mount -t vfat /dev/scsi/host0/bus0/target0/lun0/part1 /mnt/usb

    (I had created /mnt/usb)

    but I did not have any success, mount is failed.


    P.S.: One more strange thing I experienced, if I release 'ifup wan' command, I get this error:

    "Interface type pppoe not supported."
    you should be able to mount a usb stick make sure its formatted fat16/32
    then mount /dev/scsi***** /mnt/usb should work

    rest of the answers are coming still @work progress them later

    Openwrt or Custom Firmware on asus? - http://wl700ge.hezik.nl/ - Http://wl700g.homelinux.net

    My ASUS collection: WL500gp(80GB usb-hdd - Running OpenWrt Kamikaze 7.09) | WL700gE(250GB - Running OpenWrt Kamikaze 8.09rc1)

  5. OK, my workaround works: I have x-wrt web if on 192.168.1.1. Nice and detailed interface I am absolutelly amazed. Good work!

    I found Network Configuration and I set these up:

    LAN: connection type - static IP
    type - none

    WAN: connection type - PPPOE
    type - none

    Only if I modify last one and choose 'bridged', more options will appear.
    So I could set connection datas, then I saved and applied changes, but while the router is committing changes, shows this error message:

    "/sbin/ifup: export: 6: CONFIG_--help_ifname: bad variable name"

  6. Hi back2basic,



    could you attach your config file (/etc/config/network)?

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Flashing firmware from a Mac?
    By Halsnalle in forum WL-500gP Firmware Discussion
    Replies: 2
    Last Post: 19-09-2008, 05:22
  2. New Oleg firmware 1.9.2.7-9 problems?
    By wpte in forum WL-500gP Firmware Discussion
    Replies: 11
    Last Post: 17-04-2008, 23:34
  3. Problem with flashing custom firmware
    By kopi_bean in forum WL-700g Firmware Discussion
    Replies: 7
    Last Post: 29-03-2007, 17:09
  4. Replies: 0
    Last Post: 30-01-2006, 18:09
  5. Flashing Oleg's Firmware in WL HDD
    By hugo in forum WL-HDD Custom Development
    Replies: 29
    Last Post: 21-10-2004, 14:55

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •