Hey Mike,

Thanks a lot - /usr/bin/system-config-network did the job with network
192.168.0.1.

Alex

--
Alex Kovalenko
Director of Operations
VoIP Gizmos dba Kovasys Inc.
1155 Boulevard René-Lévesque O.,
Suite 2500 Montréal, QC H3B 2K4
tel:  514.907.3192 ext. 701
toll: 888.KOVAS4S
fax: 514.227.5377

www.VoipGizmos.ca / www.VoIPPBX.ca
"Telephone IP, PBX, etc. - magasin web"
"IP phones, PBX, etc. - online store"


On 7/11/07, Mike Ashton <[EMAIL PROTECTED]> wrote:

 Alex,

 A few things, if you do not reserve the IP in the DHCP server you won't get
name resolution on your LAN for the machine, which may not be a big deal.
And if you don't want to do the DHCP reserve for it, then on Centos 4.5 you
can:
     1 - edit the /etc/sysconfig/network-scripts/ifcfg-eth0
file by hand.

 the file will look something like this:

 BOOTPROTO=dhcp
 TYPE=Ethernet
 HWADDR=00:60:94:63:09:cd
 DEVICE=eth0
 MTU=""
 NETMASK=""
 BROADCAST=""
 IPADDR=""
 NETWORK=""
 ONBOOT=yes


 Edit ti to look like this;

 BOOTPROTO=none
 GATEWAY=192.168.1.1
 TYPE=Ethernet
 HWADDR=00:60:94:63:09:cd
 DEVICE=eth0
 MTU=""
 NETMASK=255.255.255.0
 BROADCAST=""
 IPADDR=192.168.1.130
 NETWORK=192.168.1.0
 ONBOOT=yes

 or
 2 if your not comfortable editing the ifcfg-eth0 file, try the following:

 since you said you don't have netconfig, type :
     locate config-network | grep bin
 it shld return something like:
     /usr/bin/system-config-network
     /usr/bin/system-config-network-cmd
     /usr/sbin/system-config-network
     /usr/sbin/system-config-network-cmd
     /usr/sbin/system-config-network-gui
     /usr/sbin/system-config-network-tui

  your looking for the system-config-network bin and sbin are the same, it
will start up a text GUI to alter the interface settings

    âââââââââââââââââââââââââââ⤠Select A Device
âââââââââââââââââââââââââââââ
    â
                 â
    â eth1 (eth1) - Intel Corporation 82557/8/9 [Ethernet Pro 100]
â
    â eth2 (eth2) - VIA Technologies, Inc. VT86C100A [Rhine]
â
    â eth0 (eth0) - Intel Corporation 82801BA/BAM/CA/CAM Ethernet Controller
â
    â <New Device>
                 â
    â
                 â
    â             ââââââââ
ââââââââââ               â
    â             â Quit â                          â Cancel â
â
    â             ââââââââ
ââââââââââ               â
    â
                 â
    â
                 â

ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ





   <Tab>/<Alt-Tab> between elements   |  <Space> selects   |  <F12> next
screen


 Hope this helps,

 Mike

 Alex @ Kovasys Inc. wrote:
what happens if i do not have netconfig on my server

 On 7/11/07, Raymond J. Payne <[EMAIL PROTECTED]> wrote:

Hi,

 You can either set the MAC address in the DHCP with a lease reservation, or
just use "netconfig" from the shell.

http://dumbme.voipeye.com.au/aah/AsteriskDumbMeGuide.htm#_Toc136753978

 Ray

 -----Original Message-----
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex @
Kovasys Inc.
 Sent: Wednesday, July 11, 2007 11:12 AM
 To: TAUG - Biz
 Subject: [HEADER] - [biz] How to bind Asterisk to one local IP - Email
found in subject

 Hello

 Just wondering if anyone can help:

 I am trying to bind a local Linux machine to a fixed local IP address (e.g.
192.168.0.160) -- so that it does not change an IP every time I restart it.

 Any idea how I can do it? Thanks.

 --
 Alex Kovalenko
 Director of Operations
 www.VoIPGizmos.ca
 1155 Boulevard René-Lévesque O.,
 Suite 2500 Montréal, QC H3B 2K4
 tel:  514.907.3192 ext. 701
 toll: 888.KOVAS4S
 fax: 514.227.5377

 www.kovasys.com
 "Consultation et Recrutement en TI"
 "IT Consulting & Staffing"

---------------------------------------------------------------------
 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,
e-mail: [EMAIL PROTECTED]






 --
Mike Ashton

Quality Track Intl

Ph: 647-722-2092 x 301
Cell: 416-527-4995
Fax: 416-352-6043

QTI CONFIDENTIAL AND PROPRIETARY INFORMATION

The contents of this material are confidential and proprietary to Quality
Track International, Inc.
and may not be reproduced, disclosed, distributed or used without the
express permission of an authorized representative of QTI.
Use for any purpose or in any manner other than that expressly authorized is
prohibited.
If you have received this communication in error, please immediately delete
it and all copies, and promptly notify the sender.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Alex Kovalenko
Director of Operations
Kovasys Inc.
1155 Boulevard René-Lévesque O.,
Suite 2500 Montréal, QC H3B 2K4
tel:  514.907.3192 ext. 701
toll: 888.KOVAS4S
fax: 514.227.5377

www.kovasys.com
"Consultation et Recrutement en TI"
"IT Consulting & Staffing"

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to