IP setting in kubuntu 8.10

Asked by Ziaagikian

Hello
      Last night I install kubuntu 8.10 but I cann't configure Ip setting i used Knetworkmanager but i didn't effect. I m LAN client and my proxy is 192.168.91.103. Plz help me.

Regards

Ziaa

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
game
Solved:
Last query:
Last reply:
Revision history for this message
S.Vikash Koushik (vikashkoushik) said :
#1

Hi Ziaagikian

         When you connect to internet at the taskbar you will get a pop from an icon up saying that connection has been established.Right click on the icon and click on edit.There you should be able to edit your ip settings without any problems.

Revision history for this message
Best game (furygame) said :
#2

Hi Ziaagikian

First, run “ifconfig” to find the name of your network card. It should be eth0, or similar (eth0 will be used throughout this tutorial).
Then, open up your /etc/network/interfaces file with “kdesudo ‘/usr/lib/kde4/bin/kwrite /etc/network/interfaces’”.
It should look something like:

auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
auto eth0
#iface eth0 inet dhcp
auto eth1
#iface eth1 inet dhcp
#iface eth2 inet dhcp
#iface ath0 inet dhcp

first, uncomment the line which says:

iface eth0 inet static

Now we have to add some lines which are highly dependant on your individual setup and network/ISP

address 192.168.0.2

put your desired address here

netmask 255.255.255.0

netmask should always be like this, unless your ISP says different or you have set it up differently(if
you’ve done that, you probably don’t need this guide.)

gateway 192.168.0.1

This is the IP of your ISP/Router

broadcast 192.168.0.255

This should be provided by your ISP, if not, it is the first 3 sections of the gateway followed by the
first section of the netmask.

the whole section should look like this:

auto eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
gateway 192.168.0.1
broadcast 192.168.0.255

Now, we need to edit our resolv.conf and add our DNS nameserver(s)

open the file with “kdesudo ‘/usr/lib/kde4/bin/kwrite /etc/resolv.conf’”

add a line like so:

nameserver 208.67.222.222

This is the line for the OpenDNS nameserver, you can use the one from your ISP
by simply replaceing the above IP with their’s.

Finally, run “sudo /etc/init.d/networking restart” and you should be connected!

Revision history for this message
Ziaagikian (ziaagikian) said :
#3

Thanks alot game!!!
I acted on ur advice net was working properly but when I restart my system net wasn't working,plz help me how to resolve this issue.

Revision history for this message
Ziaagikian (ziaagikian) said :
#4

Also when I execute the command

sudo /etc/init.d/networking restart

the output is

ziaa@Gikian:~$ sudo /etc/init.d/networking restart
[sudo] password for ziaa:
 * Reconfiguring network interfaces...Ignoring unknown interface eth0=eth0.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

Please copy and paste the result of this terminal command:

lspci

and look for some errors or info about your nic card into the output of dmesg terminal command, so type:

dmesg | more

Then give us some feed back...

Thank you

Revision history for this message
Ziaagikian (ziaagikian) said :
#6

Thanks alot both macrobra and game for taking interest in my issue.I acted upon on the instruction provided by game whiich actually worked so far. The only probelm I encountered that eth0 and eth1 were messy, so I managed both of them separately which worked well.

Sorry for late responce becuase of exams.

Regards

Ziaa

Revision history for this message
Ziaagikian (ziaagikian) said :
#7

Thanks game, that solved my question.