LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 08-28-2004, 05:31 PM   #1
true_atlantis
Member
 
Registered: Oct 2003
Distribution: fedora cor 5 x86_64
Posts: 639

Rep: Reputation: 30
connecting to different access points using ifconfig etc.


hey, i have a ibm centrino laptop using the ipw2100 driver, and can connect fine to my access point in my house by using these two commands

ifconfig eth1 192.168.1.200
route add default gw 192.168.1.1

but when i go to my friends house and try to do the same with his, i cannot connect, they are using the same router. anyone know why? thanks
 
Old 08-28-2004, 05:55 PM   #2
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
It may be very well he is using 192.168.0.1 as his gateway (and 192.168.0.xxx as his network). What are the settings for a computer on his network?
 
Old 08-28-2004, 06:00 PM   #3
true_atlantis
Member
 
Registered: Oct 2003
Distribution: fedora cor 5 x86_64
Posts: 639

Original Poster
Rep: Reputation: 30
i dont undestand what you mean, what settings? all the other machines are using windows. i guess what i would like to understand is what you are actually doing when you do the "ifconfig" and "route add" commands... i just read them from the ipw2100 install page, but have no idea what they are actually doing.
 
Old 08-28-2004, 06:09 PM   #4
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Quote:
Originally posted by true_atlantis
i dont undestand what you mean, what settings? all the other machines are using windows. i guess what i would like to understand is what you are actually doing when you do the "ifconfig" and "route add" commands... i just read them from the ipw2100 install page, but have no idea what they are actually doing.
the commands are assigning a static ip address (192.168.1.200) and a gateway (192.168.1.1) on your eth1 interface...

by the way, your commands should probably look more like this:

ifconfig eth1 inet 192.168.1.200 netmask 255.255.255.0
route add default gateway 192.168.1.1 eth1


the main things you need to know to configure an internet connection:

- your ip address and netmask

- your gateway's ip address

- your dns server's ip address


check on your friend's computer, look at his network settings... then you'll have a better idea as to what you need... it's unwise to assume his router is configured just like yours, IMHO...

Last edited by win32sux; 08-28-2004 at 06:16 PM.
 
Old 08-28-2004, 06:47 PM   #5
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
If they're using windows you can see their settings by opening up a command prompt ("cmd" or "command" depending on version) and typing "ipconfig"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Asus WL-330g access point vs other access points dimgr Linux - Wireless Networking 3 09-20-2006 06:29 AM
connecting /sbin/ifconfig to bash command ifconfig flammable2 Fedora 4 11-12-2005 08:58 AM
Looking for access points. al912912 Linux - Wireless Networking 6 02-11-2005 06:34 PM
How to list Access Points? jeffman12 Linux - Wireless Networking 2 06-10-2004 12:55 AM
Attaching to Two Access points? Memnoch_Rashid Linux - Laptop and Netbook 4 02-01-2004 08:41 PM


All times are GMT -5. The time now is 04:40 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration