LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 07-01-2008, 02:23 PM   #1
pucker22
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
Installing Linux on Pc


Hello all,

I am planning on buying a pc, however the pc comes with windows vista, and I would like to install linux instead.

My question is, if I install a open Source Linux OS, how will I connect to the internet?

I have a router in which the pc connects to Via Lan.

The thing is, if I install Linux it would be removing everything that the pc has to understand how to connet to the ethernet (removing ethernet connection device)

How would linux be able to understand this? Would it already understand that the pc has a ethernet port or is their something else I need?

Thanks!
 
Old 07-01-2008, 02:51 PM   #2
dthacker
Member
 
Registered: Nov 2003
Location: Omaha, NE
Distribution: Ubuntu, Kubuntu, Ubuntu Server
Posts: 77

Rep: Reputation: 15
Hi Pucker22!

No need to worry, when you load linux on your PC, it will scan the hardware and find your ethernet(network) port. It will check to see if your router is assigning network addresses to the computers that connect to it (this is called DHCP) and then will make the connection. If you'd like to verify this before you install, find a linux distro that has a "LiveCD" (Unbuntu, PCLinuxOS, Fedora). This will let you boot Linux just off the CD, and run it without installing on the hard drive. It's a great way to test your hardware to see if you are going to have any problems. Good Luck and welcome to Linux! I've been using it exclusively for almost 8 years now.

Cheers!
Dave
 
Old 07-01-2008, 02:53 PM   #3
Berticus
Member
 
Registered: Jul 2005
Distribution: Arch
Posts: 159

Rep: Reputation: 31
Unless you're using Gentoo, everything should be all set. Most linux distribution will establish a connection during the boot process. If a connection has not been established, you can simply type something like:
Code:
dhcpcd eth0
dhcpcd can change depending on what dhcp client is provided, of course it's assuming you can connect via dhcp. Eth0 is the ethernet device name, which can change depending on which port you're connecting to. So maybe it's Eth1. Or if you're going to go wifi, it may be:
Code:
dhcpcd wlan0
Just note that you'll need the correct drivers to use your wifi card. If you're completely new to Linux, you'll probably use one of the entry-level distros like Fedora or Ubuntu. In those cases, it may automatically detect and install the necessary drivers.

Welcome to Linux
 
Old 07-01-2008, 04:11 PM   #4
ceantuco
Member
 
Registered: Mar 2008
Location: New Jersey
Distribution: CentOS, Debian, Kali
Posts: 584

Rep: Reputation: 37
Hi Pucker22!

Excellent idea to switch from VI$TA to Linux. You won't have any issues installing it but like dthacker recommended try using a live cd distro and see if it recognizes your LAN card. Most likely it will!
welcome and Have fun discovering Linux. I've been fully using it for 6 months and I DO NOT REGRET IT!

Good Luck!
 
Old 07-01-2008, 04:17 PM   #5
ceantuco
Member
 
Registered: Mar 2008
Location: New Jersey
Distribution: CentOS, Debian, Kali
Posts: 584

Rep: Reputation: 37
I wish I was introduced to Linux many but many years ago. I saw a linux machine for the first time in 2005 and fell in love with it ever since then but I wasn't able to completely migrate until 6 months ago!
I felt like sharing this with you guys! I know this is irrelevant to the threat.
 
Old 07-01-2008, 05:21 PM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
There's good advice above, but...

Quote:
My question is, if I install a open Source Linux OS, how will I connect to the internet?
With linux

Quote:
I have a router in which the pc connects to Via Lan.
Excellent: it'll be 99.9% likely that it'll all happen automagically if you are connected to a router with an ethernet cable. Wireless is (sometimes) more difficult to set up, but usually fixable.

Choose your distro (the most difficult bit, but it doesn't really matter, because you can change your mind later). Just choose something popular from this website:
http://distrowatch.com/

I like kubuntu, but it's your choice.

Make an external backup of any important personal files (just in case...)

Download the ISO file of the distro you want. Burn the file to a CD as an .iso file not as an ordinary file (or it will not boot from the CD).

Plug in and turn on all your peripherals: printer, network, webcam etc.
Boot from the CD, and follow the instructions.
Most people choose the option to "Shrink the windows partition and install linux in the free space".
When linux has installed you'll be offered a menu so you can choose linux or windows at boot time.

Don't be afraid to make mistakes. My first linux install I had to re-do a couple of times, because I made stupid (with hindsight) mistakes. That's the way we all learn. I lost no data, just a bit of time (and learning something new was fun).

Welcome to freedom (and LQ!)

Come back here if you get stuck.
 
Old 07-01-2008, 05:45 PM   #7
pucker22
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Many thanks in advance for all your helpful posts.

I will be purchasing a new PC soon and will be installing Linux after I try out a couple of Live CD's.

Thank you so much!
 
Old 07-01-2008, 06:39 PM   #8
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
I will be purchasing a new PC soon
Ahhh! You have a "clean" PC to play with, even better.

I buy my hardware from my local "PC shop". It is not part of a big chain, but run by helpful, friendly people who will sell me a "bare-bones" PC with no OS (So I do not have to pay the "windows tax", then delete Vista, and then cannot get a refund for the rubbish OS I did not want, or accept the license to, but would otherwise be forced to pay for anyway.)

I can specify the PC I want them to build: Eg "Pentium4, 1GB RAM, 300GB HDD, NVIDIA graphics (excellent with linux), USB ports, Firewire ports, ethernet card (3Com, please, they always work "out-of-the-box" with linux)". They just assemble it for me. I suppose I could do this myself, but I am too lazy and they'll swap hardware at cost price if linux (or I) am unhappy with it.

If you want wireless, choose an Intel chipset, avoid Atheros at all costs (yes, they can be made to work, but why bother when Intel chipsets seem to work "out-of-the-box" with linux?

Drag the PC home. Boot it up with the linux install CD of your choice. Use most of the disk. Leave some spare space (20GB) for playing with later - see above - one of my early reinstalls was because I had omitted to do this.
Install [Yes].
Install the (closed-source) NVIDIA driver (plenty of guides on the net)
Install flash(plenty of guides on the net)
Install java (plenty of guides on the net)
IMHO it all functions perfectly

Good luck, and have fun.
 
Old 07-02-2008, 05:43 AM   #9
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Rep: Reputation: 62
Quote:
Originally Posted by pucker22 View Post
Hello all,

I am planning on buying a pc, however the pc comes with windows vista, and I would like to install linux instead.

My question is, if I install a open Source Linux OS, how will I connect to the internet?

I have a router in which the pc connects to Via Lan.

The thing is, if I install Linux it would be removing everything that the pc has to understand how to connet to the ethernet (removing ethernet connection device)

How would linux be able to understand this? Would it already understand that the pc has a ethernet port or is their something else I need?

Thanks!


OK, please read everything everyone else has said, but there's one more issue - if your router doesn't have a light called "PPPoE" on it, and you can't get on the net, read this thread:
http://www.linuxquestions.org/questi...d.php?t=644454

, it should help you.
 
  


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
installing default packages after installing linux ninux Linux - Newbie 5 09-12-2007 08:00 AM
LXer: Linux and The End Of The World: Installing Linux in Southern Chile LXer Syndicated Linux News 0 04-10-2006 10:03 AM
Installing Windows after installing LINUX brads@kwlink.com Linux - General 4 01-08-2006 11:03 AM


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