Koozali.org: home of the SME Server

problem 2nd nic

Offline enchesss

  • ***
  • 69
  • +0/-0
problem 2nd nic
« on: September 26, 2007, 06:43:06 AM »
have server running and says internet access ok but when i log into server from linux box attached to second nic it fails to connect


cant get 2nd nic to work after

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: problem 2nd nic
« Reply #1 on: September 26, 2007, 08:07:47 AM »
You are not providing sufficient information for diagnostic.  You may even have found a Bug...
Would you please log as root into your server from the console (do CTRL + ALT +F2) and run the following commands:

1) ifconfig eth0

2) ifconfig eth1

Paste/copy the result here.
Thanks.
chris
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline enchesss

  • ***
  • 69
  • +0/-0
Re: problem 2nd nic
« Reply #2 on: September 26, 2007, 02:48:06 PM »
can i log in as root via browser?

eg ip/server-root

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: problem 2nd nic
« Reply #3 on: September 26, 2007, 03:05:30 PM »
Quote
"can i log in as root via browser?"
Unfortunately not, you could do this over ssh however using the WAN address if you have another box connected to the WAN side of your server.  In the remote access panel, you will need to enable:
Code: [Select]
Secure shell access = external
Allow administrative command line access over secure shell = yes
And use a terminal on a Linux box or Putty in Windows to access the server -  log as root.

Checking from the console may be easier, there is not a lot of information to copy and post.
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: problem 2nd nic
« Reply #4 on: September 26, 2007, 04:22:47 PM »
... but when i log into server from linux box attached to second nic it fails to connect

What do you actually mean by "log into server from linux box"? What are you trying to do, and what do you see which is not what you expect to see?

Offline enchesss

  • ***
  • 69
  • +0/-0
Re: problem 2nd nic
« Reply #5 on: September 26, 2007, 11:30:06 PM »
i have linux box trying to use server's 2nd nic as a gateway to the internet.
it does not let me ssh - host unreachable or ping the server .
the server will not ping the linux box.

i have now set up server as server only for a while until i can get a suggestion or remedy.

All computers and server are now connected to the router.

i can access admin via browser from both computers but cant log in as root unless add a monitor and keybopard to the server,

have set up another account as well.

But i have heard this is less secure.

my isp will not give me a static ip.

is there a way to get one

how do i configure from here to set up a mail and web server that i can access over the internet?

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: problem 2nd nic
« Reply #6 on: September 27, 2007, 02:35:41 AM »
i have linux box trying to use server's 2nd nic as a gateway to the internet.
it does not let me ssh - host unreachable or ping the server .
the server will not ping the linux box.

You may have an unsuported or missconfigured network card. 
Providing the output of:
Code: [Select]
ifconfig eth0 and ifconfig eth1 may shed some lights on this matter.
if you feel this is a problem with the SME server, please fill a Bug report at Bugzilla.
Thanks
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.