LinuxQuestions.org
Help answer threads with 0 replies.
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-15-2012, 08:37 PM   #1
Jellybones
LQ Newbie
 
Registered: Jul 2012
Distribution: Linux Mint 13 Cinnamon
Posts: 8

Rep: Reputation: Disabled
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.
 
Old 07-16-2012, 12:33 AM   #2
rmugunthan
Member
 
Registered: Jan 2009
Location: Coimbatore, India
Distribution: rhel
Posts: 49

Rep: Reputation: 3
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
 
Old 07-16-2012, 02:06 AM   #3
Jellybones
LQ Newbie
 
Registered: Jul 2012
Distribution: Linux Mint 13 Cinnamon
Posts: 8

Original Poster
Rep: Reputation: Disabled
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.
 
Old 07-16-2012, 02:30 AM   #4
rmugunthan
Member
 
Registered: Jan 2009
Location: Coimbatore, India
Distribution: rhel
Posts: 49

Rep: Reputation: 3
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
 
Old 07-16-2012, 03:58 AM   #5
Jellybones
LQ Newbie
 
Registered: Jul 2012
Distribution: Linux Mint 13 Cinnamon
Posts: 8

Original Poster
Rep: Reputation: Disabled
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.
 
Old 07-16-2012, 08:32 AM   #6
rmugunthan
Member
 
Registered: Jan 2009
Location: Coimbatore, India
Distribution: rhel
Posts: 49

Rep: Reputation: 3
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.
Old 07-16-2012, 03:34 PM   #7
Jellybones
LQ Newbie
 
Registered: Jul 2012
Distribution: Linux Mint 13 Cinnamon
Posts: 8

Original Poster
Rep: Reputation: Disabled
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.
 
Old 07-17-2012, 04:07 AM   #8
rmugunthan
Member
 
Registered: Jan 2009
Location: Coimbatore, India
Distribution: rhel
Posts: 49

Rep: Reputation: 3
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
 
Old 07-18-2012, 01:25 AM   #9
Jellybones
LQ Newbie
 
Registered: Jul 2012
Distribution: Linux Mint 13 Cinnamon
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rmugunthan View Post
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.
 
Old 07-18-2012, 04:54 AM   #10
rmugunthan
Member
 
Registered: Jan 2009
Location: Coimbatore, India
Distribution: rhel
Posts: 49

Rep: Reputation: 3
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.
 
Old 07-18-2012, 03:24 PM   #11
Jellybones
LQ Newbie
 
Registered: Jul 2012
Distribution: Linux Mint 13 Cinnamon
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rmugunthan View Post
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.
 
Old 07-18-2012, 05:55 PM   #12
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,415

Rep: Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785
For this level of stuff you need to be root; in your case prefix cmds with 'sudo' as previously.
 
Old 07-18-2012, 07:13 PM   #13
Jellybones
LQ Newbie
 
Registered: Jul 2012
Distribution: Linux Mint 13 Cinnamon
Posts: 8

Original Poster
Rep: Reputation: Disabled
I prefixed the command with sudo, but I still get the same message:

Quote:
bash:/etc/network/interfaces: permission denied
 
Old 07-18-2012, 11:54 PM   #14
rmugunthan
Member
 
Registered: Jan 2009
Location: Coimbatore, India
Distribution: rhel
Posts: 49

Rep: Reputation: 3
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
 
Old 07-19-2012, 01:52 PM   #15
Jellybones
LQ Newbie
 
Registered: Jul 2012
Distribution: Linux Mint 13 Cinnamon
Posts: 8

Original Poster
Rep: Reputation: Disabled
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
 
  


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
[SOLVED] nilfs2 / How2 check disk space & eventually free it Pearlseattle Linux - General 3 06-18-2010 04:15 PM
hard disk partitioning/I am out of space /how to increase linux space? RMLinux Red Hat 8 09-05-2008 01:33 PM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 04:58 PM
Mandrake 9.1 & connecting to Internet polonator Linux - Networking 17 07-11-2003 12:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:33 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
Open Source Consulting | Domain Registration