Author Topic: Problem with external connections  (Read 6046 times)

Maarten

  • Zen Apprentice
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Problem with external connections
« Reply #15 on: January 30, 2008, 09:47:15 am »
I tried ping a few times and this time also the same output

Code: [Select]
oracle:~# ping -c 3 www.ebox-platform.com
ping: unknown host www.ebox-platform.com
oracle:~#

The strange thing is that every computer on the network works except this one and only to the internet.

Javier Amor Garcia

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1225
  • Karma: +12/-0
    • View Profile
Re: Problem with external connections
« Reply #16 on: January 30, 2008, 10:25:21 am »
Obviously I was wrong and you don't have name resolution.

Are you sure you have the name server set as sixstone said?
If this is your case I suggest you check the contents of the /etc/resolv.conf file.

Maarten

  • Zen Apprentice
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Problem with external connections
« Reply #17 on: February 01, 2008, 01:03:45 am »
Hi I attached a screenshot of my nameserver setting and the /etc/resolv.conf file. It looks okay to me

jabster

  • Zen Apprentice
  • *
  • Posts: 26
  • Karma: +0/-0
    • View Profile
Re: Problem with external connections
« Reply #18 on: February 01, 2008, 04:10:26 am »
Hi.

I'm having the same problem as Maarten here.

I just installed ebox today, and can ping every machine on my network except my gateway (a belkin wireless router).

I am only running this as a local fileserver & email server. So I'm not really concerned about it as a firewall, gateway, etc.

So, I can access the email server locally, and ping every box on my network except the gateway, and naturally can't get to the internet to update, etc.

I'm attaching a screenshot of my firewall rule.

Any help here is appreciated.

-john

Maarten

  • Zen Apprentice
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Problem with external connections
« Reply #19 on: February 01, 2008, 10:21:39 am »
Hi Jabster, welcome to the club  ;)

I can ping my local nameserver/gateway (192.168.1.1) you can't I see?

jabster

  • Zen Apprentice
  • *
  • Posts: 26
  • Karma: +0/-0
    • View Profile
Re: Problem with external connections
« Reply #20 on: February 01, 2008, 12:46:53 pm »
Ah.

So not quite the same problem.

Other info: eth0 is a PCI NIC, I do have a eth1 on board the MB (it's an old box, and I think the onboard didn't work with linux when I originally setup the box up ages ago). eth1 is not enabled.

I also seem to recall the box going online during the install process. I had the network cable plugged into eth0 when I started the install, but it couldn't get a DHCP address, so I switched to eth1 for the rest of the install.

Maybe reinstall, with the cable never plugged into eth1? Or pull the PCI card out?

Not being able to ping only one box on my network is rather annoying.

thanks,
john

Maarten

  • Zen Apprentice
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Problem with external connections
« Reply #21 on: February 01, 2008, 01:16:44 pm »
That can indeed be the problem with you. I disabled my internal NIC and used an external network card (gigabit).
I don't know if you have much data on your server. Otherwise a reinstall should solve the problem for sure without much trouble.

jabster

  • Zen Apprentice
  • *
  • Posts: 26
  • Karma: +0/-0
    • View Profile
Re: Problem with external connections
« Reply #22 on: February 01, 2008, 04:20:42 pm »
Well, that wasn't the problem.

I disabled the onboard NIC, and reinstalled ebox.

Still, I can ping everything on my network EXCEPT the gateway (192.168.100.1). And naturally, can't get to the internet.

Everyother box can get to and thru the gateway. Why can't this one box?

-john

jabster

  • Zen Apprentice
  • *
  • Posts: 26
  • Karma: +0/-0
    • View Profile
Re: Problem with external connections
« Reply #23 on: February 01, 2008, 04:25:26 pm »
I'm gorram stupid.

I had MAC address filtering enabled on my router.

I was thinking that was only for wireless connections, but it's for ALL connections, including wired. I started going thru my router settings heading by heading, and when the MAC filtering screen came up, I realized the problem.

<smacks head>

It's working now.

-john

Maarten

  • Zen Apprentice
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Problem with external connections
« Reply #24 on: February 01, 2008, 04:36:38 pm »
hahaha well at leatst your problem is solved  ;)

Maarten

  • Zen Apprentice
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Problem with external connections
« Reply #25 on: February 07, 2008, 11:07:05 pm »
Is there anybody else who has an idea to help me?

Maarten

  • Zen Apprentice
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Problem with external connections
« Reply #26 on: February 20, 2008, 10:49:04 pm »
Last bump :-[

With ping I get
Code: [Select]
connect: Network is unreachable
But name resolution says:
Code: [Select]
; <<>> DiG 9.2.4 <<>> +time=3 debian.net
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13343
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;debian.net. IN A

;; ANSWER SECTION:
debian.net. 3596 IN A 192.25.206.10

;; Query time: 26 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Wed Feb 20 23:34:07 2008
;; MSG SIZE  rcvd: 44

So name resolution does not seem to be the problem.
« Last Edit: February 20, 2008, 11:43:14 pm by Maarten »

Maarten

  • Zen Apprentice
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Problem with external connections
« Reply #27 on: February 21, 2008, 07:36:26 pm »
The external connection problem is solved! Thanks to the guys on the debian forum. But I now have another problem see http://forum.eboxplatform.com/index.php?topic=148.0

snypher

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Problem with external connections
« Reply #28 on: April 01, 2008, 06:02:24 pm »
Hi Maarten, could you tell us what was the solutions of your problem? or a link where find that?

I had thougth that your problem was with route tables and default gateway on your Ebox server.

This was one solution:

# route add default gw IP_DIR_OF_GATEWAY_OF_LAN

Or this was other one:

Ebox Web Administrator -> Network -> Gateways
Kevin Josue Zambrano Chavez

Linux Counter #395394 -> http://counter.li.org/

Si la base de la sociedad es ayudar a los demas, porque decir no a la libertad

de modificar y compartir el software? (Richard Stallman)

La imaginacion es mas importante que el conocimiento (Albert Einstein)

Maarten

  • Zen Apprentice
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Problem with external connections
« Reply #29 on: April 01, 2008, 06:07:42 pm »
Hi,

I'm sorry I thought I pasted the link to the debianforums in the topic

http://forums.debian.net/viewtopic.php?t=24224&highlight=

After

Code: [Select]
Try w/o those last two lines about nameservers.

Normally all you need for static ip is the address and netmask, especially when using a router, which handles all the other stuff.

Also, try replacing auto eth0 with allow-hotplug eth0

Also, your router has to be configured to allow static ip assignment. Some routers are cranky about this

and after that ifdown eth0
ifup eth0 evrything worked