LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 01-12-2004, 04:30 PM   #1
Klas
Member
 
Registered: Oct 2003
Location: Uppsala, Sweden
Distribution: Mandrake 9.1, Mandrake 10.0
Posts: 77

Rep: Reputation: 15
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

Last edited by david_ross; 01-12-2004 at 04:50 PM.
 
Old 01-12-2004, 08:06 PM   #2
ac1980
Member
 
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394

Rep: Reputation: 30
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.
 
Old 01-20-2004, 12:17 PM   #3
Klas
Member
 
Registered: Oct 2003
Location: Uppsala, Sweden
Distribution: Mandrake 9.1, Mandrake 10.0
Posts: 77

Original Poster
Rep: Reputation: 15
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
 
Old 01-20-2004, 12:23 PM   #4
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
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.
 
Old 01-20-2004, 01:32 PM   #5
Klas
Member
 
Registered: Oct 2003
Location: Uppsala, Sweden
Distribution: Mandrake 9.1, Mandrake 10.0
Posts: 77

Original Poster
Rep: Reputation: 15
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
 
Old 01-20-2004, 02:21 PM   #6
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
Got it. Sorry. Some days the medication works, some days ...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless router to wireless access point J3N7iL Linux - Wireless Networking 2 09-29-2005 08:55 PM
D-Link DWL-G630 loses access point -- ndiswrapper 0.12, Fedora Core 3 hotroge Linux - Wireless Networking 1 01-15-2005 01:54 PM
how to change the default IP of an access point? dimgr Linux - Wireless Networking 13 11-20-2004 01:35 PM
Access point d-link dwl-2000ap works on linux ? william84 Linux - Hardware 1 08-09-2004 10:31 AM
Which is the best Wireless Access Point and Wireless Card? hamish Linux - Wireless Networking 13 05-04-2004 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 07:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration