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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
07-15-2012, 08:37 PM
|
#1
|
LQ Newbie
Registered: Jul 2012
Distribution: Linux Mint 13 Cinnamon
Posts: 8
Rep:
|
Help connecting to internet & disk space in Linux Mint 13
Hi, I'm new to Linux and very excited to get started- I installed Linux Mint 13 a couple of days ago but I haven't been able to get connect to the internet at all, which saddens me.
I am using a wired connection- I have a Linksys WUSB11 2.8 router and when I go to the Network Settings tab in the system tray it simply doesn't detect my router and there are no options available for me to configure a wired connection.
Secondly, I recently used gparted from my live disc to take some space away from Windows Vista, as I am dual booting with that OS as well. I successfully removed quite a bit of space from it, but now I'm left with over 100 gigs of unallocated space that I'd love to give Mint. This unallocated space appears to be inaccessible, however.
I'd very much appreciate help with this subject. Thanks in advance.
|
|
|
07-16-2012, 12:33 AM
|
#2
|
Member
Registered: Jan 2009
Location: Coimbatore, India
Distribution: rhel
Posts: 49
Rep:
|
Hi,
The first problem seems to be the driver issue. Post the output of the below command
lspci | grep Ethernet
ifconfig -a
For the second problem, post the fdisk command output for better clarification
fdisk -l
|
|
|
07-16-2012, 02:06 AM
|
#3
|
LQ Newbie
Registered: Jul 2012
Distribution: Linux Mint 13 Cinnamon
Posts: 8
Original Poster
Rep:
|
Thanks for your reply, rmugunthan. The results of the first command are:
Quote:
~ $ lspci| grep Ethernet
01:08.0 Ethernet controller: Intel Corporation N10/ICH 7 Family LAN Controller (rev 01)
david@Jelly ~ $ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:21:97:38:1e:9e
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:49 errors:0 dropped:0 overruns:0 frame:0
TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4288 (4.2 KB) TX bytes:4288 (4.2 KB)
|
However the fdisk command confuses me a little. Simply typing "fdisk -l" doesn't do anything (Do I have to boot from livedisc to use this command or something?) and when I simply type in fdisk without the variable it gives me a set of options, and I'm guessing this is the command I'm after:
Quote:
fdisk [options] -l <disk> list partition table(s)
|
I don't know what I'm supposed to put in [options] and <disk>.
Thanks.
|
|
|
07-16-2012, 02:30 AM
|
#4
|
Member
Registered: Jan 2009
Location: Coimbatore, India
Distribution: rhel
Posts: 49
Rep:
|
Hi,
In ifconfig output "eth0" device is listed, that means network driver is already installed. But it is not taking the ipaddress. Are using dhcp or static ipaddress?. Post the network configuration file also.
To list the partition table try the below command.
sudo fdisk -l
|
|
|
07-16-2012, 03:58 AM
|
#5
|
LQ Newbie
Registered: Jul 2012
Distribution: Linux Mint 13 Cinnamon
Posts: 8
Original Poster
Rep:
|
sudo fdisk -l did the trick.
Quote:
list partition table(s)
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc3ffc3ff
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 188870655 94434304 7 HPFS/NTFS/exFAT
/dev/sda2 483334142 587319295 51992577 5 Extended
/dev/sda3 587320335 625137344 18908505 12 Compaq diagnostics
/dev/sda5 581050368 587319295 3134464 82 Linux swap / Solaris
/dev/sda6 483334144 581050367 48858112 83 Linux
Partition table entries are not in disk order
|
I am using dhcp. I feel like this is a silly question, but: where/how do I see my network configuration file?
Thanks again for your reply.
|
|
|
07-16-2012, 08:32 AM
|
#6
|
Member
Registered: Jan 2009
Location: Coimbatore, India
Distribution: rhel
Posts: 49
Rep:
|
The below file is the network configuration file in most of the debian based disto.
cat /etc/network/interfaces
Also from the partition table, your second partition (/dev/sda2) is taken as a extended partition. Your linux operating system (/dev/sda6 - root filesystem and /dev/sda5 - swap) is reside under the extended partition. Also only three primary partition is available in your disk. So you can create the new primary partition as /dev/sda4 from the available disk space.
While creating partition make sure that there is no over loop in the existing partition. As of now in your disk 188870656 to 483334141 free sectors are available.
Last edited by rmugunthan; 07-16-2012 at 08:33 AM.
|
|
1 members found this post helpful.
|
07-16-2012, 03:34 PM
|
#7
|
LQ Newbie
Registered: Jul 2012
Distribution: Linux Mint 13 Cinnamon
Posts: 8
Original Poster
Rep:
|
Here's the network config.
Quote:
cat /etc/network/interfaces
auto lo
iface lo inet loopback
|
I'll take your advice and create a new primary partition.
EDIT: I successfully divided up the amount of space I wanted between the two partitions. Thank you.
Last edited by Jellybones; 07-16-2012 at 06:01 PM.
|
|
|
07-17-2012, 04:07 AM
|
#8
|
Member
Registered: Jan 2009
Location: Coimbatore, India
Distribution: rhel
Posts: 49
Rep:
|
Hi,
In this configuration file nothing written related with your "eth0" device. Are you created this device manually or it is listed from the installation itself?.
If it is existing from the installation means you need to append the below contents in the interface file.
auto eth0
iface eth0 inet dhcp
Then restart the networking service using the below command
/etc/init.d/networking restart
|
|
|
07-18-2012, 01:25 AM
|
#9
|
LQ Newbie
Registered: Jul 2012
Distribution: Linux Mint 13 Cinnamon
Posts: 8
Original Poster
Rep:
|
Quote:
Originally Posted by rmugunthan
In this configuration file nothing written related with your "eth0" device. Are you created this device manually or it is listed from the installation itself?.
|
It should be existing from the installation since I did nothing manually with the device after installing Mint.
Quote:
If it is existing from the installation means you need to append the below contents in the interface file.
auto eth0
iface eth0 inet dhcp
|
Okay, how do I append the interface file?
Last edited by Jellybones; 07-18-2012 at 01:26 AM.
|
|
|
07-18-2012, 04:54 AM
|
#10
|
Member
Registered: Jan 2009
Location: Coimbatore, India
Distribution: rhel
Posts: 49
Rep:
|
open the file interface file using the vi editor and append the below entries.
vi /etc/network/interfaces
auto eth0
iface eth0 inet dhcp
If you are not familiar with the vi editor use the below command for the same
echo -e "auto eth0\niface eth0 inet dhcp echo" >> /etc/network/interfaces
After append the above entries restart the network service using the below command
/etc/init.d/networking restart
Last edited by rmugunthan; 07-18-2012 at 05:01 AM.
|
|
|
07-18-2012, 03:24 PM
|
#11
|
LQ Newbie
Registered: Jul 2012
Distribution: Linux Mint 13 Cinnamon
Posts: 8
Original Poster
Rep:
|
Quote:
Originally Posted by rmugunthan
If you are not familiar with the vi editor use the below command for the same
echo -e "auto eth0\niface eth0 inet dhcp echo" >> /etc/network/interfaces
|
I entered this command into the console and was told that my permissions were denied.
|
|
|
07-18-2012, 05:55 PM
|
#12
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,415
|
For this level of stuff you need to be root; in your case prefix cmds with 'sudo' as previously.
|
|
|
07-18-2012, 07:13 PM
|
#13
|
LQ Newbie
Registered: Jul 2012
Distribution: Linux Mint 13 Cinnamon
Posts: 8
Original Poster
Rep:
|
I prefixed the command with sudo, but I still get the same message:
Quote:
bash:/etc/network/interfaces: permission denied
|
|
|
|
07-18-2012, 11:54 PM
|
#14
|
Member
Registered: Jan 2009
Location: Coimbatore, India
Distribution: rhel
Posts: 49
Rep:
|
i hope u already tried with the below command,
sudo echo -e "auto eth0\niface eth0 inet dhcp echo" >> /etc/network/interfaces
If the above command doesn't help means, post the file permission of the interface file.
ls -l /etc/network/interfaces
|
|
|
07-19-2012, 01:52 PM
|
#15
|
LQ Newbie
Registered: Jul 2012
Distribution: Linux Mint 13 Cinnamon
Posts: 8
Original Poster
Rep:
|
Quote:
i hope u already tried with the below command,
sudo echo -e "auto eth0\niface eth0 inet dhcp echo" >> /etc/network/interfaces
|
Yes, I had already tried it.
Here's the file permissions.
Quote:
-rw -r--r--1 root root 32 Jul 17 14:29 /etc/network/interfaces
|
|
|
|
All times are GMT -5. The time now is 01:33 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|