Re: [ubuntu-in] Configure the IP

2010-04-20 Thread Mehdi
Thank you.. so much,... finally make it. i hope that it does not make any
problem in future.
-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] Configure the IP

2010-04-20 Thread Hrishikesh Murali
Hi,

On Tue, Apr 20, 2010 at 11:51 AM, Anish Mangal wrote:

> I cannot assign a static IP address to my ubuntu powered laptop when
> it is connected to the router/LAN via wifi.


Well, if it is via wifi, then you have to do the following:

$ sudo iwlist wlan0 scan(Here, note the 'ESSID' of the
wireless network you have to connect to)
$ sudo iwconfig wlan0 ""
$ sudo ifconfig wlan0 

-- 
Thanks and Regards,
Hrishikesh Murali
-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] Configure the IP

2010-04-20 Thread Hrishikesh Murali
Hi,

On Tue, Apr 20, 2010 at 11:38 AM, Mehdi  wrote:

> Thanks, but how i can change the IP address and Getaway and DNS? by
> TERMINAL
>

--- IP ADDRESS ---
$ ifconfig  /
eg: ifconfig eth0 192.168.1.2/24

--- GATEWAY ---
$ route add default gw 

--- DNS ---
In /etc/resolv.conf, type the following:
nameserver 


P.S.: Please "google it up" before you ask questions :)

-- 
Thanks and Regards,
Hrishikesh Murali
-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] Configure the IP

2010-04-20 Thread ಮಲ್ಲಿಕಾರ್ಜುನ್
On Tue, Apr 20, 2010 at 10:42 AM, Mehdi  wrote:

> *Dear Friends*
> I use the Linux 9.10 in my office, and i'm just the person which use the
> linux in office other staff use the XP, and we useing the Local network (
> Lan) by connect to net. my Pc use the Auto IP ( For example: 192.168.1.2)
> but sometime my net does not work and i like to Configure my IP to other
> Number.
>
> I hope others solved your problem. But let me what your problem *might*be.

First of all you r using static IP, manually putting your IP address. The
reason it works sometimes and doesn't sometimes is that "there might be a IP
address conflict with other systems i,e.. 2 PC's using same Local IP
address. DHCP can solve the problem or better organized IP allotment can
also solve the problem"


> Already i change the IP and DNS, for few days it working but not always. it
> just working with the Auto.
>

I don't think you have to change DNS each time...


> Can i use the Terminal to do it? or if i want use the network connection (
> default of Linux which it is in the Top-Toolbar) what is the right
> process..!??
>

Please give me the right process for both way//
>
> Thanks.
>
>
>
> --
> ubuntu-in mailing list
> ubuntu-in@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
>
>
-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] Configure the IP

2010-04-19 Thread Vishal
vi /etc/network/interfaces

ipaddress 
netmask 
gateway 


vi /etc/resolv.conf

search 
nameserver 

Sent from my iPhone

On Apr 20, 2010, at 11:38 AM, Mehdi  wrote:

> Thanks, but how i can change the IP address and Getaway and DNS? by  
> TERMINAL
>
> Thanks,
> -- 
> ubuntu-in mailing list
> ubuntu-in@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-in

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] Configure the IP

2010-04-19 Thread Mehdi
But if u are using the network connection ( default of Linux which it is in
the Top-Toolbar) u can edit your connection/
-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] Configure the IP

2010-04-19 Thread Anish Mangal
I also have a similar problem to this...

I cannot assign a static IP address to my ubuntu powered laptop when
it is connected to the router/LAN via wifi.
I require a static IP so I can configure NAT on my router and not
change it s configuration every time the IP address changes.

I have checked that this can be done in windows, so there is no reason
why this can't be done in ubuntu as well.

Cheers,
Anish



On Tue, Apr 20, 2010 at 11:35 AM, Abhinav Modi  wrote:
> On Tue, Apr 20, 2010 at 10:42 AM, Mehdi  wrote:
>> Dear Friends
>> I use the Linux 9.10 in my office, and i'm just the person which use the
>> linux in office other staff use the XP, and we useing the Local network (
>> Lan) by connect to net. my Pc use the Auto IP ( For example: 192.168.1.2)
>> but sometime my net does not work and i like to Configure my IP to other
>> Number.
>>
>> Already i change the IP and DNS, for few days it working but not always. it
>> just working with the Auto.
>>
>> Can i use the Terminal to do it? or if i want use the network connection (
>> default of Linux which it is in the Top-Toolbar) what is the right
>> process..!??
>>
>> Please give me the right process for both way//
>>
>
> I assume you are using DHCP ? Then you can just do
>
> First, do
> $ ifconfig -a
>
> Then check the connection which you're using (should be eth* or wlan*
> - generally eth0 or wlan 0, but can be something else also)
>
> Next do
> $ sudo dhclient eth0 (I assume eth0 is the lan connection. It could be
> wlan0 etc)
>
> If you want to change the DNS server to some manual value, you need to
> edit /etc/resolvconf/resolv.conf.d/original . This is sort of tricky,
> if you use the computer from multiple places or use VPN etc. Need more
> info before suggesting how to do it.
>
> Regards
> Abhinav
>
> http://indimark.blogspot.com
> http://www.employees.org/~abhinav/blog
>
> --
> ubuntu-in mailing list
> ubuntu-in@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
>

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] Configure the IP

2010-04-19 Thread Mehdi
Thanks, but how i can change the IP address and Getaway and DNS? by TERMINAL


Thanks,
-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] Configure the IP

2010-04-19 Thread Abhinav Modi
On Tue, Apr 20, 2010 at 10:42 AM, Mehdi  wrote:
> Dear Friends
> I use the Linux 9.10 in my office, and i'm just the person which use the
> linux in office other staff use the XP, and we useing the Local network (
> Lan) by connect to net. my Pc use the Auto IP ( For example: 192.168.1.2)
> but sometime my net does not work and i like to Configure my IP to other
> Number.
>
> Already i change the IP and DNS, for few days it working but not always. it
> just working with the Auto.
>
> Can i use the Terminal to do it? or if i want use the network connection (
> default of Linux which it is in the Top-Toolbar) what is the right
> process..!??
>
> Please give me the right process for both way//
>

I assume you are using DHCP ? Then you can just do

First, do
$ ifconfig -a

Then check the connection which you're using (should be eth* or wlan*
- generally eth0 or wlan 0, but can be something else also)

Next do
$ sudo dhclient eth0 (I assume eth0 is the lan connection. It could be
wlan0 etc)

If you want to change the DNS server to some manual value, you need to
edit /etc/resolvconf/resolv.conf.d/original . This is sort of tricky,
if you use the computer from multiple places or use VPN etc. Need more
info before suggesting how to do it.

Regards
Abhinav

http://indimark.blogspot.com
http://www.employees.org/~abhinav/blog

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in