LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-07-2012, 06:24 AM   #1
emekadavid
Member
 
Registered: Jul 2012
Posts: 46

Rep: Reputation: Disabled
permanent ip addr when i access public cybercafe?


I presently get my internet access from a cybercafe and the network there automatically gives my system an ip address and other dhcp stuff. I want to practice networking. my question is: how do i give my system an ip address that would not conflict with the ip address the cybercafe would give me if or when i do want to use their facilities because even if i pay for internet access through an isp and a router, i might sometimes need the facility. tnx
 
Old 08-07-2012, 06:28 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
You simply set up different connections in your network manager. Typically, connections can be configured to connect automatically, depending on what is available.
 
Old 08-07-2012, 06:44 AM   #3
emekadavid
Member
 
Registered: Jul 2012
Posts: 46

Original Poster
Rep: Reputation: Disabled
can it be done using the same interface, that is , the same wifi usb adapter?
 
Old 08-07-2012, 06:48 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Yes----the typical network manager will display all the wireless connections available in range. Any of them can be set to connect automatically. Ideally, when you turn on your computer, whatever connection (that you have configure) is in range will connect automatically.

What is your Linux system (distro), what network manager, etc.?
 
Old 08-07-2012, 06:57 AM   #5
emekadavid
Member
 
Registered: Jul 2012
Posts: 46

Original Poster
Rep: Reputation: Disabled
re: access public cybercafe

blag distro based on fedora 14.
 
Old 08-07-2012, 03:14 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by emekadavid View Post
blag distro based on fedora 14.
What network manager? (eg WICD)
 
Old 08-08-2012, 03:48 AM   #7
emekadavid
Member
 
Registered: Jul 2012
Posts: 46

Original Poster
Rep: Reputation: Disabled
re: access cyber cafe

I don't intend using network manager. maybe that will be for the future. i intend using the ip command from my terminal. ur answer of yesterday solved lots of problems.
tnx
 
Old 08-08-2012, 05:13 AM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
You may already know more than I do, but..

I don't see how the ip command is relevant to setting up different network profiles. I'm also not aware of how to set up and choose profiles in a terminal.

The most often cited command for setting the connection parameters is "ifconfig"
 
Old 08-08-2012, 05:16 AM   #9
emekadavid
Member
 
Registered: Jul 2012
Posts: 46

Original Poster
Rep: Reputation: Disabled
yeah, ifconfig is also a related command bu ip command obsoletes ifconfig; man pages.
 
Old 08-08-2012, 07:04 AM   #10
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
You may already know more than I do
Yup!!

Just in case I'm not the only one ignorant about "ip", could you show an example of how it's used to configure an interface?
 
Old 08-08-2012, 07:08 AM   #11
emekadavid
Member
 
Registered: Jul 2012
Posts: 46

Original Poster
Rep: Reputation: Disabled
"man ifconfig" . read it. kernel is even old, 2.6. I see 3.X online now.
thanks
 
Old 08-08-2012, 07:13 AM   #12
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
I asked about "ip"---I already know "ifconfig". I did read the man page for "ip"---I just wanted to see an example.
 
Old 08-08-2012, 07:15 AM   #13
emekadavid
Member
 
Registered: Jul 2012
Posts: 46

Original Poster
Rep: Reputation: Disabled
well, i'd promise you one but it might take some days.
know any reason why ip command won't work when the man pages say otherwise? software is deterministically unreliable you know.
tnx
 
  


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
Permanent Telnet Root Access yotta_flop Linux - Networking 7 12-22-2011 03:59 PM
Can't access virtual "inet addr" from host. thuongquoc Linux - Newbie 1 03-20-2011 12:24 PM
Unique ID of machine, other than IP-Addr/MAC-Addr to prevent spoofing anupamsaxena Linux - Security 9 12-20-2009 10:58 PM
Need IP addr from AT&T Fast Access jdtiede Linux - Wireless Networking 1 12-06-2007 05:32 PM
Obtain IP addr. from MAC addr? Ryand833 Linux - Wireless Networking 3 06-30-2005 01:59 PM

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

All times are GMT -5. The time now is 04:39 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