LinuxQuestions.org
Visit Jeremy's Blog.
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 05-04-2010, 01:12 PM   #1
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Rep: Reputation: 30
network setting


I have a ubuntu server , can advise if I want to change the network setting ( eg. IP address , gateway address etc ) , which one is the configuration file ? for example , if I want to change eth0 setting , what file I should update ? thx
 
Old 05-04-2010, 01:29 PM   #2
pkhera_2001
Member
 
Registered: Mar 2006
Location: New Delhi, India
Distribution: Fedora, CentOS, RHEL, Ubuntu
Posts: 67

Rep: Reputation: 18
Hi!

You can configure following file:
/etc/network/interfaces using a text editor
or
use ifconfig command to setup required parameters, see man page for ifconfig command.
or
go through following link for further help:
http://www.cyberciti.biz/tips/howto-...iguration.html

Thanks,
 
Old 05-05-2010, 09:57 PM   #3
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Ubuntu, Debian, OS X
Posts: 1,300

Rep: Reputation: 102Reputation: 102
The simplest option will be neat-tui. It will give you an GUI to change the network information.
 
Old 05-06-2010, 01:38 AM   #4
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Original Poster
Rep: Reputation: 30
thx reply,

I checked that the existing interfaces is as below

auto lo
iface lo inet loopback


it is strange that no IP address is specified in this file , but i use ipconfig to check , the ip address is available .
 
Old 05-06-2010, 03:56 AM   #5
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
You are probably using something like network-manager or wicd to configure your interfaces. These seem to be popular methods for desktop/notebook machines, these days. However, for Debian based servers (or IMNSHO any Debian based machine) you really should be editing the interfaces file directly.

Evo2.
 
Old 05-06-2010, 07:32 AM   #6
snheily
LQ Newbie
 
Registered: May 2010
Posts: 1

Rep: Reputation: 0
multimedia plugins

hello there,
i have just installed ubuntu but it has refused to play media files because there are no required plugins and when i tried to check online it says no suitable plugins found, pliz help
 
Old 05-06-2010, 07:43 AM   #7
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
snheily: Welcome to LQ You will get better response to your question if you start your own thread rather than adding to an existing thread on a different topic (which is not polite).
 
Old 05-06-2010, 07:46 AM   #8
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Quote:
Originally Posted by elainelaw View Post
I checked that the existing interfaces is as below

auto lo
iface lo inet loopback
You mean that there is no entry for eth0 in /etc/interfaces? Which version of ubuntu are you using? What is the eth0 hardware? Does ifconfig output (please post it) show eth0?
 
Old 05-14-2010, 08:57 PM   #9
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,031

Rep: Reputation: 63
Quote:
Originally Posted by elainelaw View Post
thx reply,

I checked that the existing interfaces is as below

auto lo
iface lo inet loopback


it is strange that no IP address is specified in this file , but i use ipconfig to check , the ip address is available .
You have to edit that file manually.
 
Old 05-14-2010, 08:58 PM   #10
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,031

Rep: Reputation: 63
Quote:
Originally Posted by elainelaw View Post
thx reply,

I checked that the existing interfaces is as below

auto lo
iface lo inet loopback


it is strange that no IP address is specified in this file , but i use ipconfig to check , the ip address is available .
Type in terminal:
Code:
nm-connection-editor
 
Old 05-14-2010, 09:02 PM   #11
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,031

Rep: Reputation: 63
Quote:
Originally Posted by elainelaw View Post
thx reply,

I checked that the existing interfaces is as below

auto lo
iface lo inet loopback


it is strange that no IP address is specified in this file , but i use ipconfig to check , the ip address is available .
https://help.ubuntu.com/community/NetworkManager0.7
 
  


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
gateway setting ./network-scripts/ifcfg-eth1 and ./network joshfields Linux - Networking 1 04-29-2012 05:27 AM
Lost in the network: setting up network on Laptop with virtual guest machines pdaalder Linux - Networking 1 02-16-2010 05:33 AM
Setting Up My First HA Network msound Linux - Enterprise 3 01-31-2008 03:49 AM
Problem with setting up network card / network ssmeets Linux - Hardware 3 11-03-2005 04:46 PM
Setting Up Network BittaBrotha Linux - Networking 11 02-19-2002 02:53 AM

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

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