LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   PBX in a Flash (PIAF) new system can't connect to eth0 (https://www.linuxquestions.org/questions/linux-newbie-8/pbx-in-a-flash-piaf-new-system-cant-connect-to-eth0-4175490958/)

ahunter121 01-11-2014 01:05 PM

PBX in a Flash (PIAF) new system can't connect to eth0
 
I ordered a pre-built asterisk server (CentOS 6.4), and the company that built it scheduled their only tech support guy for a 3 week vacation as soon as they got it out the door. I know nothing of asterisk except the little I have started reading over the last couple of days, and I know very little linux.

I connected to a network and it showed an IP address on eth0 (obtained via DHCP). I entered that IP into a browser on another PC on the network, and it would not connect. I played around a bit, mostly rebooting and retrying the same thing several times, and eventually got it to connect. I don't know what I did differently (if anything) that made it work. Then when I came back to it the next day, I again cannot connect.

I've tried disabling iptables and fail2ban based on input on a PIAF forum, but this seems to be a linux issue. Using netstat, I can see 4 tcp ports (there are 4 nic cards installed) with local address 0.0.0.0. The IP address that shows up when I run the status command is assigned to a udp port.

If it helps, here is the PIAF status screen:
Code:

PBX in a Flash Purple Status Program

  ┌────────────────────────System Information───────────────────────────┐
  │  Asterisk  = ONLINE  | Dahdi    = ONLINE  | MySQL    = ONLINE    │
  │  SSH        = ONLINE  | Apache    = ONLINE  | Iptables  = ONLINE    │
  │  Fail2ban  = OFFLINE | Internet  = ONLINE  | Ip6Tables = ONLINE    │
  │  BlueTooth  = ONLINE  | Hidd      = ONLINE  | NTPD      = ONLINE    │
  │  SendMail  = ONLINE  | Samba    = OFFLINE | Webmin    = ONLINE    │
  │  Ethernet0  = ONLINE  | Ethernet1 = OFFLINE | Wlan0    = N/A      │
  │                                                                    │
  │  PIAF Installed Version  = 2.0.6.4 under *HARDWARE*                │
  │  FreePBX Version          = 2.11.0.11                              │
  │  Running Asterisk Version = 1.8.24.0                                │
  │  Asterisk Source Version  = 1.8.24.0                                │
  │  Dahdi Source Version    = 2.7.0.2                                │
  │  Libpri Source Version    = 1.4.14                                  │
  │  IP Address              = 192.168.40.115 on eth0                  │
  │  Operating System        = CentOS release 6.4 (Final) <>          │
  │  Kernel Version          = 2.6.23-358.6.2.el6.x86_64 - 64 Bit      │
  └─────────────────────────────────────────────────────────────────────┘

Any help in getting this working will be greatly appreciated. If I need to provide additional information, you may need to tell me how to find it.

dandev 01-12-2014 03:17 PM

I started to play with Asterisk some years ago, because my boss was interested in it, then I left the company, so didn't continue and don't know much, but did start to read a good book called Asterisk: the future of Telephony by Jim Van Meggelen. There must be some Asterisk forums around as well.


All times are GMT -5. The time now is 10:55 AM.