LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools
Old 11-06-2009, 01:43 PM   #1
bdmsb
LQ Newbie
 
Registered: Nov 2009
Posts: 10
Thanked: 0
Unable to connect to network


[Log in to get rid of this advertisement]
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?
macos bdmsb is offline     Reply With Quote
Old 11-06-2009, 02:22 PM   #2
mrshanim
LQ Newbie
 
Registered: Aug 2009
Posts: 15
Thanked: 0
try to reset your router, it works for me
windows_vista mrshanim is offline     Reply With Quote
Old 11-06-2009, 02:36 PM   #3
theNbomr
Senior Member
 
Registered: Aug 2005
Distribution: Open Suse, Fedora, Redhat
Posts: 2,274
Thanked: 74
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.
linux theNbomr is offline     Reply With Quote
Old 11-06-2009, 03:37 PM   #4
bdmsb
LQ Newbie
 
Registered: Nov 2009
Posts: 10
Thanked: 0

Original Poster
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...)
macos bdmsb is offline     Reply With Quote
Old 11-06-2009, 04:14 PM   #5
theNbomr
Senior Member
 
Registered: Aug 2005
Distribution: Open Suse, Fedora, Redhat
Posts: 2,274
Thanked: 74
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.
linux theNbomr is offline     Reply With Quote
Old 11-06-2009, 04:45 PM   #6
bdmsb
LQ Newbie
 
Registered: Nov 2009
Posts: 10
Thanked: 0

Original Poster
/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?
macos bdmsb is offline     Reply With Quote
Old 11-06-2009, 05:37 PM   #7
theNbomr
Senior Member
 
Registered: Aug 2005
Distribution: Open Suse, Fedora, Redhat
Posts: 2,274
Thanked: 74
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.
linux theNbomr is offline     Reply With Quote
Old 11-07-2009, 05:28 AM   #8
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,866
Thanked: 25
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.
blackhole54 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Network: Able to connect to encrypted, but unable to connect to open. WalterGL Linux - Newbie 1 09-16-2009 05:17 PM
Unable to connect to wifi network with network manager. Poss authorization issue openSauce Linux - Networking 14 12-13-2008 11:05 AM
Unable to connect to any system on the Network kvvsrinivas Linux - Networking 4 11-14-2008 08:39 AM
unable to connect to wireless network pieterprovoost Linux - Wireless Networking 1 01-10-2008 04:48 PM
Unable to connect to network vaber Linux - Newbie 4 09-09-2003 12:31 AM


All times are GMT -5. The time now is 10:07 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration