LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-06-2007, 01:40 AM   #1
sc7090
LQ Newbie
 
Registered: Mar 2007
Distribution: ubuntu-6.10-server-i386
Posts: 9

Rep: Reputation: 0
LAMP and Win2k connection


Hallo,
i'm trying to setup a LAMP but i'm new to Linux so i really get
some problems. I downloaded ubuntu-6.10-server-i386.iso and the
installation was fine. It recognised the two NICs, same model
realtec 8139 base cards, but i'm not sure if they run correctly.
With ping they work, locally.
Right now there is this computer running linux and an ethernet
switch.

First question
==============
the light on the switch blicks continuously but
there is no traffic. Is this normal or i have to think that
the NICs are not installed correctly?

Second question
===============
if i connect a laptop running win2k and i try to connect to
the LAMP server via ftp the connection is unstable, or better,
is more dead then alive: i'm asked for the login but then
the connection is close by the server. The fact the the laptop
is running win2k shouldn't create problems to ftp or http
connections if on the other side there is linux, is this correct?
If i ping the LAMP server from the laptop i cannot see him.

So my first problem is to understand if the NICs works fine or
if i have to update the driver.

Any suggestion?
Thanks for your attention and sorry for my poor english.

Claudio.
 
Old 04-06-2007, 03:45 AM   #2
crazyivan
Member
 
Registered: Mar 2007
Distribution: Debian, Ubuntu server
Posts: 40

Rep: Reputation: 15
Claudio,

can you please post the output of:
Code:
ifconfig
Is the Ubuntu server connected to the internet?

Have you updated the Ubuntu server?
Code:
apt-get update && apt-get upgrade
Is the server running a firewall?

What is the NIC configuration of the Windows client?
 
Old 04-06-2007, 04:42 AM   #3
sc7090
LQ Newbie
 
Registered: Mar 2007
Distribution: ubuntu-6.10-server-i386
Posts: 9

Original Poster
Rep: Reputation: 0
The computer right now is at home: my project is to prepare the server
and then to insert it in a existing LAN. I want to setup a LAMP with a fax server and
an e-mail server, no X.
So, for the ifconfig output you have to wait a few hours when i'll go home.
I remember that for eth0 the IP address is 192.168.123.3, subnet mask 255.255.255.0
and for eth1 192.168.123.4, same subnet. There is also the BROADCAST 192.168.123.255
(Do i need it?).

I didn't update the ubuntu server because the two NICs where already installed, but i
can try it.

There is no firewall.

My laptop: 192.168.123.12 - 255.255.255.0

If i ping my laptop from server console the ping works but not continuosly.

---
Claudio
 
Old 04-06-2007, 06:12 AM   #4
crazyivan
Member
 
Registered: Mar 2007
Distribution: Debian, Ubuntu server
Posts: 40

Rep: Reputation: 15
Quote:
Originally Posted by sc7090
...If i ping my laptop from server console the ping works but not continuosly...
Do you see any discrepancies in reply times? Errors?
 
Old 04-06-2007, 06:23 AM   #5
sc7090
LQ Newbie
 
Registered: Mar 2007
Distribution: ubuntu-6.10-server-i386
Posts: 9

Original Poster
Rep: Reputation: 0
It writes one line then wait a few seconds, then
write one or two lines, then wait a few seconds again, and so on.
I'll sendo you a ping page.

There is another thing, may be it's important: i indicated a gateway that is not
still present in the LAN (192.168.123.100) but it will be. I will use it to send
emails from LAN to WAN and to download emails from an external email server.

Claudio.
 
Old 04-06-2007, 02:40 PM   #6
sc7090
LQ Newbie
 
Registered: Mar 2007
Distribution: ubuntu-6.10-server-i386
Posts: 9

Original Poster
Rep: Reputation: 0
Here is the result of ifconfig:

eth0
Link encap:Ethernet
HWaddr 00:0E:2E:A4:5E:AC
inet addr:192.168.123.3
Bcast:192.168.123.255
Mask:255.255.255.0
inet6 addr: fe80::20e:2eff:fea4:5eac/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
X bytes:0 (0.0 b) TX bytes:468 (468.0 b)
Interrupt:11 Base address:0x8000

lo
Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1184 (1.1 KiB) TX bytes:1184 (1.1 KiB)

---
Claudio
 
Old 04-07-2007, 08:55 AM   #7
crazyivan
Member
 
Registered: Mar 2007
Distribution: Debian, Ubuntu server
Posts: 40

Rep: Reputation: 15
Have you defined DNS and/or a gateway?
 
Old 04-10-2007, 03:07 AM   #8
sc7090
LQ Newbie
 
Registered: Mar 2007
Distribution: ubuntu-6.10-server-i386
Posts: 9

Original Poster
Rep: Reputation: 0
Yes, a gateway...but it's not still installed.

---
Claudio
 
Old 04-12-2007, 12:49 AM   #9
crazyivan
Member
 
Registered: Mar 2007
Distribution: Debian, Ubuntu server
Posts: 40

Rep: Reputation: 15
Claudio,

There is no internet connection for the server just yet right? So all you want is to establish is a frim connection between your server (123.4) and your laptop (123.12)? Both machines are connected to a switch I presume? Have you checked you cables? No bad cabling, loose connections?

Do you realy need two NICs in your server?
 
Old 04-12-2007, 12:57 AM   #10
sc7090
LQ Newbie
 
Registered: Mar 2007
Distribution: ubuntu-6.10-server-i386
Posts: 9

Original Poster
Rep: Reputation: 0
Resolved! There was a IRQ conflict at BIOS level. So ubuntu recognized correctly the two
NICs, the problem was elsewhere. The drivers 8139too and 8139cp are the right ones.
Thanks crazyivan for your suggestions.

---
Claudio.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Connection Sharing - Win2K - Suse 9.2 Leben Linux - Wireless Networking 0 11-12-2004 08:00 AM
SMB-->Win2k connection problem soren625 Linux - Networking 2 11-06-2004 12:00 PM
Internet Connection Sharing between win2k and linux 9 bazza268 Linux - Networking 1 07-15-2004 05:24 PM
Win2k and RH8 crosslink connection nereus2 Linux - Networking 9 10-06-2003 07:35 PM
Internet connection win2k mdk9.1 Peacedog Linux - Networking 1 09-25-2003 08:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration