LinuxQuestions.org
Visit Jeremy's Blog.
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 04-14-2005, 04:01 AM   #1
oldforce
Member
 
Registered: Jun 2004
Location: Turkey, Istanbul
Distribution: Novel Suse Professional 9.3
Posts: 86

Rep: Reputation: 15
pls tell me how..?


can i enter gateway ip without using kdeconnection gui on kubuntu?
and tell me how can i mount my hd partitions on kubuntu ?
pls explain step by step cause i am not so experienced about Linux codes..
if nobody helps i will delete Kubuntu and go back to winXp forever....
 
Old 04-14-2005, 04:12 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Re: pls tell me how..?

Quote:
Originally posted by oldforce
if nobody helps i will delete Kubuntu and go back to winXp forever....
That is the absolute worst way of requesting help that I have ever see. Asking for help and adding pointless threats will not help you win friends and influence people.

man ifconfig will give you a large amount of information on setting up your ip details without a gui
man mount will give help with your hd mounting.

I would suggest that read through those resources and then come back with anything you don't understand.
 
Old 04-14-2005, 04:13 AM   #3
Rinish
Member
 
Registered: Apr 2005
Location: Bangalore
Distribution: Redhat, CentOS, AIX
Posts: 93

Rep: Reputation: 15
Hi,
All linux uses same commands. U can mount ur HD filesystems using "mount" command
the command is :- mount -t ext3 /dev/hda1 /mnt/dir
this command should work perfect on ubuntu
 
Old 04-14-2005, 04:16 AM   #4
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Gee that's kinda harsh. Hope your not married.

Anyway, we are here to help as much as we can, however, we don't know what your trying to connect to or what hd partitions your talking about.

I can say this. If one problem detours from Linux then It may not be the right OS for you.

Patience. What is it they say about Patience. or is thet Truth.

KC
 
Old 04-14-2005, 04:22 AM   #5
oldforce
Member
 
Registered: Jun 2004
Location: Turkey, Istanbul
Distribution: Novel Suse Professional 9.3
Posts: 86

Original Poster
Rep: Reputation: 15
thankss

but my questions are so simple i think because the problems are funny...
i am entering the gateway ip and click apply on kde gui.. but it does not save my gateway ip..
when i reenter the network configurations i does not appear..

my partitions are...
40gb ntfs
20gb fat32
20gb fat32
and linbux partitions...
kubuntu does not have any gui to configure partitions like suse's yast so it is hard to configure for me....
 
Old 04-14-2005, 04:29 AM   #6
Rinish
Member
 
Registered: Apr 2005
Location: Bangalore
Distribution: Redhat, CentOS, AIX
Posts: 93

Rep: Reputation: 15
i think u have to edit the configuration file directly
that should help
 
Old 04-14-2005, 04:32 AM   #7
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Gateway and IP for what. Is this a Static IP or DHCP. from a router or something?

Also, what partitions of that list are you trying to mount. fat32 should not be a problem, however, don't try to write to your ntfs partition, you'll need captive ntfs for that.

Curious? If you say SUSE is so great then why are you using Kubuntu...?

don't mind me. Just feel link ranting.

KC
 
Old 04-14-2005, 04:52 AM   #8
oldforce
Member
 
Registered: Jun 2004
Location: Turkey, Istanbul
Distribution: Novel Suse Professional 9.3
Posts: 86

Original Poster
Rep: Reputation: 15
i know

i know that i can not write on ntfs partitions...
i will try to mount the devices but can not enter root mode on console....
and when i mount them from console will they be auto mount every start of the system...
it is hard to ask u from windows then try them in linux...
still cant edit gateway ip..
i am using static ip for my pc..
router does not support dhcp...
ip 192.168.0.30
mask.255.255.255.0
gateway 192.168.0.1
dns. 192.168.0.1
tell me is this command correct for gateway ip

ifconfig eth0 -broadcast 192.168.0.1

or what is the correct one?

i am switch to kubuntu cause i am trying to learn linux more...(if u help me)
where is the configuration file and how can i log on kde as root?
 
Old 04-14-2005, 04:59 AM   #9
AntWarrior
Member
 
Registered: Oct 2003
Posts: 31

Rep: Reputation: 15
Okay my 2p to this discussion

Set of useful tools that I use : netstat , ipconfig ,route

netstat -r ( will show you your routing table and what is being used as your default gateway )

example :

root@BOX:/home/student # netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
localnet * 255.255.255.0 U 0 0 0 eth1
default jeremiah 0.0.0.0 UG 0 0 0 eth1
root@isiah:/home/student #


to set the default gateway for your machine use the command :

<bold>route add default gw MY-IPADDRESS.HERE </bold>


to give your card an ip address type ( assuming that eth0 is your network device ) :

<bold>ipconfig eth0 MY-NEW-IP-ADDRESS.HERE</bold>

If you are setting up the machine in an existing networking environment you
can get away with just the above. ( customise to your situation )

If you have a fairly flexible dhcp setup you can still get away with the above
if you know the settings( of the router and the legal ip addresses )

To do dhcp properly you can edit the network-scripts found in /etc/network/
on Ubuntu.

man ip-up, man interfaces if you want to automate the above.

It does depend on what setup you have but this should be enough to point you in the
right direction.
 
Old 04-14-2005, 05:03 AM   #10
AntWarrior
Member
 
Registered: Oct 2003
Posts: 31

Rep: Reputation: 15
1. ifconfig eth0 192.168.0.30 ( which i think you have already set )

2. route add default gw 192.168.0.30 ( to add the gateway )

3. add this lines to your /etc/resolv.conf

"nameserver 192.168.0.1"

resolv.conf holds all your dns servers information

4. And I think that should be it.

Let us know if you have any problems . Post output to the commands that you used






am using static ip for my pc..
router does not support dhcp...
ip 192.168.0.30
mask.255.255.255.0
gateway 192.168.0.1
dns. 192.168.0.1
tell me is this command correct for gateway ip

ifconfig eth0 -broadcast 192.168.0.1

or what is the correct one?
 
Old 04-14-2005, 05:13 AM   #11
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
first of all. When you installed Linux it asked you to choose a root password. If you open console type "su" and it ask you for the root PW. Beyond that, most likely your file systems are already mounted. try:

cd /mnt
ls

see if you have any directories listed like, [floppy], [cdrom], [windows]. more then likely they will be mounted already.

As for your network issue. Does your ISP (really) privide a static IP. not likely unless you pay for a biz acct. Most routers will support DHCP. Can't tell anymore from here unless you tell us how your system is setup.

KC
 
Old 04-14-2005, 05:21 AM   #12
oldforce
Member
 
Registered: Jun 2004
Location: Turkey, Istanbul
Distribution: Novel Suse Professional 9.3
Posts: 86

Original Poster
Rep: Reputation: 15
thanks to everyone...

i wrote this message from kubuntu(finally)
thanks for your help...
know i will try to mount my drives..
kubuntu does not mount them as default..
 
  


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
Help! Pls! Yull29m Linux - General 2 02-03-2005 12:57 PM
Can someone pls help me pancake Linux - Newbie 3 04-13-2004 12:22 AM
pls pls pls help me ! i'm tired with httpd config on fedora apache 2.0.48 AngelOfTheDamn Fedora 0 01-24-2004 05:12 PM
.pls Chazb Linux - Software 1 07-02-2003 07:49 PM
More C help pls The Bag Programming 6 03-11-2002 03:51 PM

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

All times are GMT -5. The time now is 10:14 PM.

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