Fresh install picks up 192.168.1.2 no matter what

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

Fresh install picks up 192.168.1.2 no matter what

Postby torontob » Tue Mar 17, 2009 4:17 pm

Hello,

I have a problem with the ip range that vicidialnow picks up. I installed the latest beta version on VMware and all went fine but the system automatically picks up ip 192.168.1.2 which is not the range of my wireless DHCP network. I tried to do "service network restart" and tried to assign Bridged NAT, Host Only, etc...through VMware network interface but none of them makes VicidialNow to change ip from 192.168.1.2. Not to forget that I can't reach the web gui at all through this ip because it doesn't even exist on my netwrok. I can't ping google or anything outside. I checked and netconfig is not installed. Yum install doesn't work either because I can't connect to internet. Where does centos allow me to obtain a static ip or change the ip to something that is within the range and is supplied by my router?

Thanks
torontob
 
Posts: 17
Joined: Tue Mar 17, 2009 4:01 pm

Postby torontob » Tue Mar 17, 2009 4:28 pm

NVM, I found the where the problem occured. Seems like by default, ViciDialnow network configuration doesn't have DHCP IP pickup turned on which sounds like a really simple thing to forget about for the developers. In order to turn on DHCP perform the following in the console:

Code: Select all
setup


From the list pickup "Network Configuration" and press Enter

Press Enter for "eth0....."

Move down to "Use DHCP" and press Space Bar once to add a Star.

Press Tab to selectk OK

Finally, try the following command to obtain an ip:

Code: Select all
service network restart



Now, time to explore this system.

Enjoy,
torontob
 
Posts: 17
Joined: Tue Mar 17, 2009 4:01 pm

Postby ykhan » Thu Mar 19, 2009 10:33 am

Using DHCP for Vicidial is probably not the best of ideas, and that is why it was probably left out. Reason is to avoid a ever changing address that would need to be updated in the DB and Asterisk.

Use the command update_server_ip on the console to change the server IP address for Vicidial in the DB and astguiclient.conf file. To assign an address to your ethernet use the following in Centos (VicidialNOW 1.1):

Code: Select all
# vi /etc/sysconfig/network-scripts/ifcfg-eth0


Replace the 0 following eth in the above line with the number that corresponds to your ethernet device. Change the file to have the following:

Code: Select all
# Intel Corporation 82573E Gigabit Ethernet Controller (Copper)
DEVICE=eth0
BOOTPROTO=[b]static[/b]
#DHCPCLASS=
HWADDR=[b]YOUR MAC ADDRESS[/b]
IPADDR=[b]YOUR SERVER IP ADDRESS HERE[/b]
NETMASK=255.255.255.0
GATEWAY=[b]YOUR GATEWAY ADDRESS HERE[/b]
ONBOOT=yes


Change the information in bold above to yor network and server information. Press [ESC] and use type ":wq" without the quotes to save and close the file.

Next open the resolv.conf by typing the following on the console:

Code: Select all
# vi /etc/resolv.conf


Change the entry for nameserver to the DNS provided by your internet provider as follows:

Code: Select all
nameserver XXX.XXX.XXX.XXX


Save the file (Press [ESC] and use type ":wq" without the quotes). Almost done now, last thing to do is to restart the network service:

Code: Select all
# service network restart


Now try pinging a web address to verify your internet connection. Good Luck!
ykhan
 
Posts: 352
Joined: Thu Jun 08, 2006 4:47 pm


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 137 guests