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.*
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?
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)
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.
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)
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"
Hi back2basic,
could you attach your config file (/etc/config/network)?