LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   How do i change IP adress on my D-link wireless access point? (https://www.linuxquestions.org/questions/linux-wireless-networking-41/how-do-i-change-ip-adress-on-my-d-link-wireless-access-point-134103/)

Klas 01-12-2004 04:30 PM

How do i change IP adress on my D-link wireless access point?
 
Hi

First thanks for a great site.

I just bought a wireless access point that i plan to use with linux.
My setup is this:

I have a Mandrake 9.1 box with two ethernet cards in, one is connected to a ADSL modem (eth0, DHCP), the other one to a switch on my very small LAN (eth1, static)). Shorewall fire wall.

My mandrake box assigns IP numbers to the computers on my LAN (DHCP server).

The access point is connected to my switch. The default IP adress of the access point is 192.168.0.50, and the IP adress of my eth1 is 192.168.1.1 (diffrent IP adress range).

To configure my acesspoint it must be in the same IP range as my LAN (wich it isnt).

What i want to do is to temporaly change the IP adress of eth1 to be in the same range as the access point (192.168.0.2??) and configure it thrugh a web config so it fits my needs. If its possible even though my computer acts as a DHCP server.

I have tried to change the IP adress of eth0 in "Drakeconnect" both true the wizard and manualy thrue the "expert mode". But i dont seem to get any other IP value then 192.168.1.1 to "stick".

My LAN works fine with 192.168.1.1 and it satisfactory assigns IP's to connected computers

Can anyone help me with this? Or is it the wrong approach?

Regards Klas

ac1980 01-12-2004 08:06 PM

If eth1 is static, it is ruled by /etc/network/interfaces. Pretty simple sintax. Remember however you should change the range for the DHCP, too. Not sure if it's in the same file.

PS: Mandrake has a lot of "magic", and badly tolerates hand-made config. You are warned.

Klas 01-20-2004 12:17 PM

My LAN network interface is eth1, i temporaly change it using:

ifconfig eth1 192.168.0.1

After that i could reach my access point using my browser.

then i change back with:

ifconfig eth1 192.168.1.1

sometimes i make it to hard for myself :)

Regards klas

2Gnu 01-20-2004 12:23 PM

Klaus,
Unless you want the access point to be on a different subnet (that's a perfectly valid thing to do), why not change the IP on the access point? That way, everyone can live in harmony with fewer config changes and (speaking for myself) typo-induced mistakes.

Klas 01-20-2004 01:32 PM

:) that is what i did.

Eth1 is 192.168.1.1. The accesspoint 192.168.0.50.

To change IP on access point i need to be on the same net. Thats why i temporaly changed eth1 to 192.168.0.1. That way i could reach my accesspoint and change the IP of it to 192.168.1.50... and then change back eth1 to 192.168.1.1... Harmony :)

Klas

2Gnu 01-20-2004 02:21 PM

Got it. Sorry. Some days the medication works, some days ...


All times are GMT -5. The time now is 11:49 AM.