Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-12-2004, 05:30 PM
|
#1
|
Member
Registered: Oct 2003
Location: Uppsala, Sweden
Distribution: Mandrake 9.1, Mandrake 10.0
Posts: 77
Rep:
|
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 05:50 PM.
|
|
|
01-12-2004, 09:06 PM
|
#2
|
Member
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394
Rep:
|
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.
|
|
|
01-20-2004, 01:17 PM
|
#3
|
Member
Registered: Oct 2003
Location: Uppsala, Sweden
Distribution: Mandrake 9.1, Mandrake 10.0
Posts: 77
Original Poster
Rep:
|
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
|
|
|
01-20-2004, 01:23 PM
|
#4
|
Senior Member
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880
Rep:
|
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.
|
|
|
01-20-2004, 02:32 PM
|
#5
|
Member
Registered: Oct 2003
Location: Uppsala, Sweden
Distribution: Mandrake 9.1, Mandrake 10.0
Posts: 77
Original Poster
Rep:
|
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
|
|
|
01-20-2004, 03:21 PM
|
#6
|
Senior Member
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880
Rep:
|
Got it. Sorry. Some days the medication works, some days ...
|
|
|
All times are GMT -5. The time now is 06:25 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|