LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Completely new to Linux! Need help with Networking on a windows LAN (https://www.linuxquestions.org/questions/linux-newbie-8/completely-new-to-linux-need-help-with-networking-on-a-windows-lan-4480/)

Ky. 07-19-2001 12:14 PM

Completely new to Linux! Need help with Networking on a windows LAN
 
Hi this is my first post here and I am a total newbie in the world of Linux.

I have just installed Redhat 7.1 for the first time and I was amazed that I managed to install it properly with no major errors yet =)

I have 2 problems:

firstly I get a message for the hostname as ThisAddressDoesNotExist

and on boot up

'Welcome to ThisAddressDoesNotExist'

Which was amusing I must say! How do I change this?

Secondly I have a small LAN here with a couple of Windows 2k machines on it connected by a Netgear FR314 Firewall Router. The machine running Redhat is connected to this LAN and can access the Web but I would like to be able to access the files on the other machines, and allow them to access the files on the linux box.

Any help greatly appreciated!

atari007 07-26-2001 02:55 PM

Well, im a real big newbie too, but maybe i can actually help! :) im not too sure about the whole getting your 2k machines to talk to it (i think this has to do with samba.. but dont quote me) .. as far as this:

--------------------------------------------------------------
firstly I get a message for the hostname as ThisAddressDoesNotExist

and on boot up

'Welcome to ThisAddressDoesNotExist'

Which was amusing I must say! How do I change this?
--------------------------------------------------------------

try typing 'netconf' and configure the host name and all of that in there.... if that doesnt help, then i dont really know :) good luck

Atari007

jharris 07-26-2001 02:59 PM

As atari007 has mentioned you want to use Samba to allow you to interact with your Windows boxes - it makes your Linux box look like a WindowsNT/2K box :) I'm pretty sure that it comes with Redhat, but hopefully someone else will be able to confirm this - I'm not from the Redhat camp... I'd normally start saying "have a look at /etc/smb.conf" but there's bound to be a tool in Redhat to allow you to do a graphical configuration.

During the wait for someone to fill in the blank above have a read of the documentation available at your closest mirror of http://www.samba.org/

HTH

Jamie...

trickykid 07-26-2001 03:02 PM

Standard Redhat distro's do come with Samba.

Steave 07-28-2001 02:38 PM

I can't say wether or not RH comes with a good graphical config, but with these lines in smb.conf you should have a good start:

[global]
workgroup= WORKGROUP
guest logons = true
guest account = nobody
security = user
public = yes
browseable = yes

# your servers ip and netmask
interfaces = 192.168.0.1/255.255.255.0

[share1]
comment = myShare on Samba
path = /usr/me
read only = no

this will show the folder /usr/me as share1 in your Win LAN (Workgroup WORKGROUP) you also should have rw access, but note that permissions of the files in your Linux box override permissions granted by samba. In this case you will have the priviliges of nobody. (-> guest account)

Hope this was of some help. On my Suse distribution I had a pretty well commented example of smb.conf which was pretty suitable to start with... If you really want to know what else samba can do for you have a look at the manpage for smb.conf
But this one is rather long :)

Linuxchallenged 07-29-2001 01:23 PM

you will also need to enable: encrypted passwords = yes
you will also need to allows hosts (the Win2K clients). I would also hard code the Netbios name (your hostname when you get it figured out...I dont have any other suggestions other than the ones already offered.) Netbios name = (hostname) also something cool is the Netbios alias = (whatever) this allows virtual servers.....very cool.

sibu_rajappan 05-28-2004 02:47 AM

along with all these tips i also pls try giving these
on my rh9 this is line num 60 there is an option security= pls rewrite as security=server and on the line 28 (on RH9)
give the range of ips to be allowed to use samba
eg for my network 192.168.1.1 192.168.1.254 just type like this and all the ips from 1.1 to 1.254 systems will be allowed............

if not givin security=server then my linux will not access any windows sys..............i dont know for sure pls if any other sugges pls tell

frazelle09 07-04-2005 02:53 PM

Mandrake 10.1 networking w / Win XP
 
Well, after searching high and low, here i am again, posting, like it says, in an already created post which is similar to our problem.
We've got two machines, one an XP and the other our Linux box. Both are connected to a Linksys wireless router, XP through a Cisco wireless card and the Linux box through a cable. The router is connected to the internet by way of a Speedster cable modem. Both computers can surf and for a while before we replaced the wired router w / the wireless, the Linux could see and r/w to the XP. At this point all we're interested in is being able to r/w to the XP. We were even able to set up the CUPs sys. before and print to the little laser printer on the XP but obviously we don't have any printers avail. anymore. i'm basically trying to just work through the Control Center 'cause i'd like to be able to show some others here in Mexico how to use a Linux machine. At this point the Linux box is set up on eth0 and DHCP automatic. i think my XP Cisco card is IP 192.168.1.119; Subnet 255.255.255.0; Default 192.168.1.1; and DNS 192.168.254.254. i think the router is set up to do the DHCP as automatic. On my XP all i can see is something that says Samba 3.0.1.0 when i click on the "home" button. When it opens up Samba i see the same printers that are connected to the XP ??? as well as something that has to do with Adobe -- pdf? but i can't see any directories or subdir. on the Linux mach., but like i said earlier, that's no prob. at this point.
Arg. Any ideas? Thanks in advance guys and gals. And have a nice week! Yours truly, fred, from sunny México. ;)


All times are GMT -5. The time now is 07:02 PM.