LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-26-2009, 01:16 PM   #1
scooby31_us
LQ Newbie
 
Registered: Sep 2009
Posts: 2

Rep: Reputation: 0
what command do you use to determing if you are hooked up on a network


i have just set up a new wireless network my house, and i want to determine whether your LINUX laptop has connected to it and obtained a valid IP adress. What command do i issue to determine the information i am seeking?
 
Old 09-26-2009, 01:21 PM   #2
gdr01
LQ Newbie
 
Registered: Nov 2006
Location: Livingston, Scotland
Distribution: Fedora 11
Posts: 3

Rep: Reputation: 0
ifconfig -a
 
Old 09-26-2009, 01:22 PM   #3
rsciw
Member
 
Registered: Jan 2009
Location: Essex (UK)
Distribution: Home: Debian/Ubuntu, Work: Ubuntu
Posts: 206

Rep: Reputation: 44
you could just run a ping test, such as
ping www.google.com
from terminal, or
(sudo) ifconfig
to see if your network card has received a proper ip from DHCP (if you're using DHCP).

route -n
shows you the gateway

if you're not using dhcp, you have to set up the config, either via the gui-tool of your
W/DM or terminal
sudo vim /etc/network/interfaces (this is on a debian box, reckon red hat based are similar)
 
Old 09-26-2009, 02:29 PM   #4
scooby31_us
LQ Newbie
 
Registered: Sep 2009
Posts: 2

Original Poster
Rep: Reputation: 0
ty for the information it helped greatly
 
  


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
Determing Linux Version jwiencek Linux - Software 6 07-31-2007 01:36 PM
Windows box shows "Network cable unplugged" when hooked up to my Linux router drkstr Linux - Networking 5 10-03-2006 05:44 PM
Determing IP Info B055 Linux - Wireless Networking 4 11-12-2005 01:53 AM
Sharing a Printer hooked onto Network dolphans1 Mandriva 6 10-29-2004 10:01 PM
Need help in determing what software I will need for my soon to be new setup. Scott Dennis Linux - Hardware 1 05-04-2004 06:13 PM


All times are GMT -5. The time now is 08:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration