Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been struggling with setting up linux/win98 via crossover able. I have read a lot and one of the main very helpful docs was here(great for newbies like me, thanks to a previous poster for the link)
Now, on there I could successfully ping 127.0.0.1 and localhost on both machines. But, when I tried to ping the network card itself it failed on the linux box, but worked fine on the windows box. The win98 has a IBM PCI network 10/100 card, so I am glad that works. The linux box has onboard LAN and my MB is a Gigabyte 7VAXP Ultra.
My question is, do I have to enable the LAN/Network part of the MB in BIOS or something like that? I am unsure how I set this up initially when I installed linux back in April, and I have not been back in ther since then. So, before I go do some damage, not <g>, could someone advise on what I should be looking for?
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
If I'm reading this correctly, you're trying to set up file and print sharing, via samba? If so, could you post the smb.conf? Is the windows machine running a firewall? How do your machines get an ip address, are they static, or via dhcp?
good luck.
Hi again, I had a look in the BIOS and found the section on LAN and it was disabled, doh! So, I enabled it and went through the config procedure. Thanks Chinaman, I used that lspci command and it showed up fine
PEACEDOG
Quote:
f I'm reading this correctly, you're trying to set up file and print sharing, via samba? If so, could you post the smb.conf? Is the windows machine running a firewall? How do your machines get an ip address, are they static, or via dhcp?
1. Correct, I am trying to setup file/printshares via samba and here is my smb.conf:
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2004/10/19 07:57:15
# Global parameters
[global]
workgroup = TUX LAND
server string = Linux Shares
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
unix password sync = Yes
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
wins support = Yes
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p %s # using cups own drivers (use generic PostScript on clients).
lpq command = lpstat -o %p
lprm command = cancel %p-%j
browseable = No
[/usr/share/samba/tmp]
comment = My temp share folder to test
path = usr/share/samba/tmp
read only = No
guest ok = Yes
2. No, the windows machine has no firewall
3. I am unsure on how to answer this as I think DHCP was mentioned somewhere, but I know I also typed the network addy in myself in the windows machine. I used the following config when I started out, before I knew that the LAN was disabled.
Mandrake = 192.168.1.1 and network mask 255.255.255.0
windows98se = 192.168.1.2 and network mask 255.255.255.0
Is that what you wanted to know? At the moment I am not that concerned about internet sharing, I just want to connect the two boxes. Once I have nutted this problem out, then I may progress to sharing internet, but the reason I changed to linux was to get away from virus/trojan problems and I will probably keep it segregated anyway. It certainly will not be spending much time on the net, if any at all
Just another bit of info, which is related. I rebooted the linux system, due to local storm and found on restart that in verbose mode I get an error. Specifically
Bringing up interface eth0 --- Failed
What is wrong here? I went back into the BIOS and the on board LAN is enabled. Now I am confused Any ideas anyone, is it a config problem or something, or is the MB faulty?
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
Looks like the machine is requesting an ip address via dhcp. Try running the network configuration, and give it a static address. Once we get the nic up and running we'll look at the samba issues.
good luck.
Thanks for your help so far OK, I checked the DHCP part out and yes, it was set up that way, that was default. I changed it to static addy and gave it the 192.168.1.1 , I then restarted the X system as it advised, basically I rebooted the system and it still came up with the same error of eth0 failed on startup. And when I tried to ping the card, it still came up with ' network unreachable' same as before.
Is there anything else I can try? I removed the network card in MCC and added it back again a few times, just in case I had stuffed up, but it was the same. The only thing that happened out of the ordinary was I could no longer use my modem, it said the dev/modem was not where it should be, so I had to add the modem connection again as well(even though I had not removed it). But as you can see, I am back online, that was the easy part as it is external
I have a similar problem, I'm running a bootloader into either Mandrake 10 or WinXP Pro, on the XP sys theres no problem getting to the card into the router and out to the net (I'm using a NetGear wg311 wireless PCI and a linksys router) I couldn't find any linux drivers for the card... But I tried using "madwifi"
When I'm in a console as root and do a "iwconfig ath0" command it SEES the router, but doesnt connect to it. I changed the ESSID and encryption key to it (is the crypto key the same as the WEP key???)
I too get the eth0 boot error, but i dont have an eth0, only an ath0... O_o
I'm way to used to GUIs... all i need is a net connection on the linux boot so i can solve all my other problems from there
[richard@192 network-scripts]$ cat ifcfg-lo
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback
Dumb question. Since you are hooking up to a windows 98 machine using a cross-over cable, is the windows machine on? Also, unless you are running a dhcp server on your mandrake box, make sure you have a static address set up on the windows98 machine. Type 'ipconfig /all' on the windows machine. That will give you the answer.
You might want to check the logs to see why starting eth0 failed.
Originally posted by jschiwal Dumb question. Since you are hooking up to a windows 98 machine using a cross-over cable, is the windows machine on? Also, unless you are running a dhcp server on your mandrake box, make sure you have a static address set up on the windows98 machine. Type 'ipconfig /all' on the windows machine. That will give you the answer.
You might want to check the logs to see why starting eth0 failed.
It should not make any difference if the windows box is on or not, I have not even got the cable plugged in at the moment. I am trying to resolve an issue with why I cannot ping my onboard network card in linux, the windows machine is setup and is working fine. It is the eth0 failure in Mandrake that is the issue. What logs should I look for? If there is no eth0 network, there is no log for it surely? Where would I look for it if there is?
I have setup static addresses for both machines, with the linux box the host on 192.168.1.1 and the windows on 192.168.1.2
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.