LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-28-2004, 04: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, 04: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, 05: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, 05:09 PM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
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 05:16 PM.
 
Old 08-28-2004, 05: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



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 05:29 AM
connecting /sbin/ifconfig to bash command ifconfig flammable2 Fedora 4 11-12-2005 07:58 AM
Looking for access points. al912912 Linux - Wireless Networking 6 02-11-2005 05:34 PM
How to list Access Points? jeffman12 Linux - Wireless Networking 2 06-09-2004 11:55 PM
Attaching to Two Access points? Memnoch_Rashid Linux - Laptop and Netbook 4 02-01-2004 07:41 PM

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

All times are GMT -5. The time now is 01:11 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
Open Source Consulting | Domain Registration