LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 11-06-2009, 12:43 PM   #1
bdmsb
LQ Newbie
 
Registered: Nov 2009
Posts: 10

Rep: Reputation: 0
Unable to connect to network


I'm following the help files to get networking up on a new system. I'm very green with Linux. I've configured "Networking" for my wireless and ethernet cable, assigned a proper IP address and the wireless connection finds my wireless name. Both services have a check mark in Network Settings. But a ping to my router fails and Firefox is not connected to the net.

What am I missing?
 
Old 11-06-2009, 01:22 PM   #2
mrshanim
Member
 
Registered: Aug 2009
Posts: 30

Rep: Reputation: 16
try to reset your router, it works for me
 
Old 11-06-2009, 01:36 PM   #3
theNbomr
Senior Member
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 4,503

Rep: Reputation: 602Reputation: 602Reputation: 602Reputation: 602Reputation: 602Reputation: 602
Go to a shell. Run, as root,
Code:
/sbin/ifup eth0
If that fails to start the network, then, as root, do:
Code:
/sbin/ifconfig
/sbin/ethtool -i eth0
/sbin/lspci
and paste the results here.

Others will have a much easier time helping you if you can work in a shell. There are too many different GUIs and GUI applications for anyone to know what you are referring to. Using a shell, you can paste the exact results of your diagnostic into this forum, and you can receive instruction with commandlines that people can write directly.

--- rod.
 
Old 11-06-2009, 02:37 PM   #4
bdmsb
LQ Newbie
 
Registered: Nov 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by theNbomr View Post
Go to a shell. Run, as root,
Code:
/sbin/ifup eth0
If that fails to start the network, then, as root, do:
Code:
/sbin/ifconfig
/sbin/ethtool -i eth0
/sbin/lspci
and paste the results here.

--- rod.
Sorry to be so green. By shell do you mean Terminal? And if so, do I enter the following after the prompt? /sbin/ifup eth0

Or must it be preceded by "sudo" (I told you I was green...)
 
Old 11-06-2009, 03:14 PM   #5
theNbomr
Senior Member
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 4,503

Rep: Reputation: 602Reputation: 602Reputation: 602Reputation: 602Reputation: 602Reputation: 602
Well, a terminal can mean many things. Generally, any tool that gives you a commandline is running a shell. You could also go to a text mode console, or boot to runlevel 3. For this purpose, it doesn't matter, except that running in a desktop probably means you can use it's copy & paste functionality to post results here.
Running as root can be done either with sudo, if it is so configured, or by logging in as the root user, or by running a single command as root:
Code:
# Single quotes important here...
su -c '/sbin/ifup eth0'
This method should be universally available, I believe. Again, for this purpose, it doesn't matter which you choose, as long as you get root privileges.
--- rod.
 
Old 11-06-2009, 03:45 PM   #6
bdmsb
LQ Newbie
 
Registered: Nov 2009
Posts: 10

Original Poster
Rep: Reputation: 0
/sbin/ifup eth0 returns the message "interface eth0 already configured", but it seems to have unblocked it. I can now access the net and see shared devices. Thanks.

I tried to share a folder from Ubuntu and am told "Sharing service is not installed". I tried to install service and get a "not found" error (404) on the file name, which is:

http://us.archive.ubuntu.com/ubuntu/...tu4.7_i386.deb

There is a very similar file at this location for "lubuntu4.9" instead of "lubuntu4.7". Should I, and is there a way to, manually install this file?
 
Old 11-06-2009, 04:37 PM   #7
theNbomr
Senior Member
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 4,503

Rep: Reputation: 602Reputation: 602Reputation: 602Reputation: 602Reputation: 602Reputation: 602
The 'sharing service' falls under the umbrella name 'samba'. Most modern Linux distributions include both a samba client and server. The server component can be tricky to set up. To start it, you probably want to do, as root,
Code:
service smb start
That will probably do nothing for you, because you need to configure the server by appropriately editing /etc/samba/smb.conf (may differ on various distros). Once you've done that, you can restart the service:
Code:
service smb restart
Prepare for numerous iterations until you get it right.

--- rod.
 
Old 11-07-2009, 04:28 AM   #8
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 60
Quote:
Originally Posted by theNbomr View Post
Running as root can be done either with sudo, if it is so configured, or by logging in as the root user, or by running a single command as root:
Code:
# Single quotes important here...
su -c '/sbin/ifup eth0'
This method should be universally available, I believe..
@theNbomr,

Just so you know, by default, Ubuntu has the root account locked, so users can't su to it. The prescribed Ubuntu method is to sudo (or gtksudo) commands that need to run as root. Members of the admin group can sudo any command from their own password. On a default installation, the user account set up at installation is a member of admin.

Also, the default installation of Ubuntu includes the Samba client but not the Samba server. The server is available from the repositories.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Network: Able to connect to encrypted, but unable to connect to open. WalterGL Linux - Newbie 1 09-16-2009 04:17 PM
Unable to connect to wifi network with network manager. Poss authorization issue openSauce Linux - Networking 14 12-13-2008 10:05 AM
Unable to connect to any system on the Network kvvsrinivas Linux - Networking 4 11-14-2008 07:39 AM
unable to connect to wireless network pieterprovoost Linux - Wireless Networking 1 01-10-2008 03:48 PM
Unable to connect to network vaber Linux - Newbie 4 09-08-2003 11:31 PM


All times are GMT -5. The time now is 06:39 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration