LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-10-2011, 12:34 PM   #16
andy-y
LQ Newbie
 
Registered: Mar 2011
Distribution: Fedora 14, Debian lenny, Solaris 10
Posts: 2

Rep: Reputation: 1

Hey lVlaciiiii, try doing

Code:
ifconfig -a
The reason I recommend this is because if the interface isn't up (working), it won't be shown with just ifconfig.
 
1 members found this post helpful.
Old 03-10-2011, 02:34 PM   #17
lVlaciiiii
LQ Newbie
 
Registered: Mar 2011
Location: So. California
Posts: 7

Original Poster
Rep: Reputation: 0
Oh hey! I got it just a couple of hours ago, I forgot to post, haha.
After MASSIVE amounts of searching,
All I did was go to /etc/apt/sources.list and I added my interface like this:
Code:
auto eth0
iface eth0 inet dhcp
and saved it.

Then my interface eth0 came up when I hit ifconfig, so I was able to update, upgrade, and connect to the internet.
Thanks for all your help you guys!

Now, there's two more thing I want to be able to do, haha. Set up my wlan0, and get a static ip. Any ideas on that?
 
Old 03-10-2011, 04:07 PM   #18
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,027

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
^ these commands are to help us to know what your system thinks is installed (not necessarily to get you connected).
Code:
lspci # will tell us the pci devices you have in your system.
lsusb # will tell us the usb devices you have in your system.
ifconfig # will tell us what network interface cards you have turned on in your system.
ifconfig -a # will tell us all the network interface cards you have in your system.
iwconfig # will tell us which of your network interface cards has wireless capability
now that we know that, this should get you connected:
Code:
sudo iwlist device scan # this will use the device interface (that from the above command, we found out has wireless capability) and scan for wireless routers that are accessible.
sudo iwconfig device essid "myssid" # assuming no security, use that device to connect to your router.
sudo dhclient # will attempt to get ip-address, subnet mask, dns server information automatically from your router assuming dhcp is turned on on your router.
 
  


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
Cannot start vnc server because the USER environment variable is not set izac5 Linux - Newbie 4 11-21-2009 09:10 PM
Set the linux user permission beparas Linux - General 2 02-14-2009 06:33 AM
How do I set up a new user so that they can see a folder on a Red Hat server? isara Red Hat 3 11-06-2006 01:39 AM
New user: Want to set up a linux media file server/myth box Disorder Linux - General 2 11-08-2005 11:58 AM
server set up, multi user tevtango Linux - General 0 02-28-2002 12:12 AM


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