LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-13-2006, 01:58 AM   #1
paddy
Member
 
Registered: Jan 2006
Location: Suedpfalz
Distribution: kubuntu
Posts: 114

Rep: Reputation: 15
set gateway


running freshly installed kubuntu (newest) with loads of probs, this is one: we have a router, which means I have to set a gateway in my network settings. when I enter root pw in system settings, all that happens is, I get a "detecting hardware" box, after which it goes back to non-admin mode. so I can't do anything because the kde control center is buggy or do I get that wrong?

however, I can imagine there's a way to set the gateway manually, so how would that be?

help very much appreciated. thnks, pat
 
Old 02-13-2006, 02:22 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
From a terminal issue "route add default gw <your gateway>" and then restart your network. Don't have a clue how those Ubunter boys set it up, but in Slackware you'd issue "/etc/rc.d/rc.inet1 restart" as root.
 
Old 02-13-2006, 03:13 AM   #3
Gezzer
Member
 
Registered: Jan 2006
Distribution: kubuntu
Posts: 36

Rep: Reputation: 15
in a konsole write
kdesu kcontrol

this will enable you to have full root access to the control center ...
 
Old 02-13-2006, 03:39 AM   #4
paddy
Member
 
Registered: Jan 2006
Location: Suedpfalz
Distribution: kubuntu
Posts: 114

Original Poster
Rep: Reputation: 15
no it didn't quite help I'm afraid.

however, in the system settings -> network settings I can't change anything because when I enter the root password, it says "detecting hardware" and goes back to non-admin mode.

so I tried to trick past that by entering kdesu kcontrol in a terminal and entering it there. whatever I enter, net time I check it's gone.

I even tried the route add default gw command, but again, nothing there.

ok, after manually adding gw, internet appears to be "working" but only until I reboot.

I read something about setting it up in /etc/sysconfig/network but I don't even have that sysconfig directory.

Last edited by paddy; 02-13-2006 at 01:57 PM.
 
  


Reply



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
dhcp does not set gateway pantoniades Linux - Networking 4 02-14-2006 05:26 AM
lm10.0 gateway is set but when I reboot I have to set the gateway rharvey32 Mandriva 8 02-13-2006 01:35 PM
Gateway set up xowl Slackware 1 02-04-2005 10:20 PM
How can I set Gateway? gubak Linux - Networking 29 07-20-2004 04:43 AM
trying to set up a gateway annehoog Linux - Newbie 6 05-12-2003 09:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:32 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