Re: Networking pb
On 2022-05-08 22:58, Hussein Yahia wrote: Hi, I'm new to Linux, sorry if my question is naive. I just installed debian 11 on my computer. It's wire-connected to internet. I have another computer, a mac, which is connected through wifi. I can connect from my mac to the Linux desktop. But I can't connect from the Linux to the mac: when I go in the "Network" directory, the mac does not appear. I installed smb on the Linux desktop. Can you help me on that ? It's likely tidier rather than having server and client on both machines to have another something or other running Debian as server whose job is file sharing. via eg. ssh, a web browser. mick
Re: Networking pb
On Sun, May 8, 2022 at 5:06 PM Hussein Yahia wrote: > > > I can connect from my mac to the Linux desktop. But I can't connect > from the Linux to the mac: when I go in the "Network" directory, the > mac does not appear. I installed smb on the Linux desktop. > > I'm suspecting that you need to go into the Mac's System Preferences / Sharing, and turn on File Sharing. -- Kent West<")))>< Westing Peacefully - http://kentwest.blogspot.com
Re: Networking pb
On Mon, 09 May 2022 04:10:01 +0200 Charles Curley wrote: > On Mon, 09 May 2022 01:31:35 +0200 > Hussein Yahia wrote: > >> What exactly do you mean by "connect"? SSH? ping? If you mean via >> SMB, that suggests you successfully set the Linux computer up as >> an SMB server. Did you? >> >> I don't remeber to have installed smb on my Linux. I just downloaded >> the packages. On the mac, I click on the Linux Desktop'name, (which >> appears in any window), a window appears, I can login in the Desktop >> Linux with my name and password, and I see my files, when I'm on the >> mac. > > I should probably clarify: SMB (Service Message Block) is the > protocol, originally from IBM, later Microsoft. Samba is a server > and client suite of programs for Linux and Unix that implement SMB. > Microsoft has its own suite. Apple has at least a client. SMB is > also known as CIFS (Common Internet File System, I think). Another alternative is NFS. When my wife wants to get at my music library, she runs a script I put on her Mac to do an NFS mount on my Linux box. -- cgi...@surfnaked.ca (Charlie Gibbs)
Re: Networking pb
On Mon, 09 May 2022 01:31:35 +0200 Hussein Yahia wrote: > > What exactly do you mean by "connect"? SSH? ping? If you mean via > > SMB, > > that suggests you successfully set the Linux computer up as an SMB > > server. Did you? > > I don't remeber to have installed smb on my Linux. I just downloaded > the packages. On the mac, I click on the Linux Desktop'name, (which > appears in any window), a window appears, I can login in the Desktop > Linux with my name and password, and I see my files, when I'm on the > mac. I should probably clarify: SMB (Service Message Block) is the protocol, originally from IBM, later Microsoft. Samba is a server and client suite of programs for Linux and Unix that implement SMB. Microsoft has its own suite. Apple has at least a client. SMB is also known as CIFS (Common Internet File System, I think). You downloaded the packages, but didn't install them. Gnome might include a Samba client, I don't know. I doubt it includes a server. The best way to tell if a Samba server is running is to check to see if there is one or more processes running. Run in a terminal: ps aux | grep -i smbd If it's running, you should get something like: root@hawk:~# ps aux | grep -i smb root1433 0.0 0.0 82592 14004 ?Ss May03 0:01 /usr/sbin/smbd --foreground --no-process-group root1490 0.0 0.0 80424 6164 ?SMay03 0:00 /usr/sbin/smbd --foreground --no-process-group root1492 0.0 0.0 80432 5244 ?SMay03 0:00 /usr/sbin/smbd --foreground --no-process-group root1520 0.0 0.0 82664 9332 ?SMay03 0:03 /usr/sbin/smbd --foreground --no-process-group root2875 0.0 0.0 0 0 ?I< May03 0:00 [smb3decryptd] root2883 0.0 0.0 100080 13004 ?SMay03 0:03 /usr/sbin/smbd --foreground --no-process-group root 25184 0.0 0.0 91804 13512 ?SMay04 0:03 /usr/sbin/smbd --foreground --no-process-group root 73157 0.0 0.0 83084 11740 ?SMay06 0:01 /usr/sbin/smbd --foreground --no-process-group root 73160 0.0 0.0 82960 11768 ?SMay06 0:01 /usr/sbin/smbd --foreground --no-process-group root 137417 0.0 0.0 83088 13844 ?S09:49 0:00 /usr/sbin/smbd --foreground --no-process-group root 141258 0.0 0.0 83088 14552 ?S12:08 0:00 /usr/sbin/smbd --foreground --no-process-group root 147939 0.0 0.0 6312 716 pts/8S+ 19:49 0:00 grep --colour=auto -i smb root@hawk:~# (And I have no idea what that will look like on your mail program because it consists of a lot of long lines which your mail program will probably mangle.) Otherwise you'll get only a few lines. If it isn't running, I have no idea why you are seeing on the Mac. > > > When you go to what "Network" directory? How do you go to it? Is > > this in the GUI or command line? What GUI are you using? XFCE? > > Gnome? KDE? > I have Gnome only only on the Linux desktop. You see, the is a > "Network" in the GUI, I expect the mac to appear here. Unfortunately I don't know either Gnome or Macs at all. I suspect that the reason you don't see the Mac from the Linux desktop is that it doesn't have a server running, or you haven't authorized it to share files. You might find the Debian wiki useful: https://wiki.debian.org/Samba -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
Re: Networking pb
Hi Charles, Thank you for quick answering me. I'm going to guess that this is a simple network, such as a home, > with > just the two computers on it. Yes ! > What exactly do you mean by "connect"? SSH? ping? If you mean via > SMB, > that suggests you successfully set the Linux computer up as an SMB > server. Did you? I don't remeber to have installed smb on my Linux. I just downloaded the packages. On the mac, I click on the Linux Desktop'name, (which appears in any window), a window appears, I can login in the Desktop Linux with my name and password, and I see my files, when I'm on the mac. > When you go to what "Network" directory? How do you go to it? Is this > in the GUI or command line? What GUI are you using? XFCE? Gnome? KDE? I have Gnome only only on the Linux desktop. You see, the is a "Network" in the GUI, I expect the mac to appear here. Thank you for your time ! Cheers hussein Le dimanche 08 mai 2022 à 16:52 -0600, Charles Curley a écrit : > On Sun, 08 May 2022 23:58:28 +0200 > Hussein Yahia wrote: > > > I'm new to Linux, sorry if my question is naive. > > Your question isn't naive. But we need a lot more information from > you > in order to help you. > > Some of it may be obtained by executing command line commands we > provide. Open a terminal, copy and paste the command into the > terminal. > When you have the results, copy and paste from the terminal to your > reply email, and include the command line prompt and the one that > follows the command's output. > > Also, be aware that SMB is a complicate mess of a protocol, and has > lots op options. For that reason, SMB clients and servers such as > Samba > are not easy to configure. > > > I just installed debian 11 on my computer. It's wire-connected to > > internet. I have another computer, a mac, which is connected > > through > > wifi. > > I'm going to guess that this is a simple network, such as a home, > with > just the two computers on it. > > > > > I can connect from my mac to the Linux desktop. > > What exactly do you mean by "connect"? SSH? ping? If you mean via > SMB, > that suggests you successfully set the Linux computer up as an SMB > server. Did you? > > > But I can't connect > > from the Linux to the mac: when I go in the "Network" directory, > > the > > mac does not appear. I installed smb on the Linux desktop. > > When you go to what "Network" directory? How do you go to it? Is this > in the GUI or command line? What GUI are you using? XFCE? Gnome? KDE? > > I'm going to guess that you have a file manger open, and it has a > "Network" option, and that when you select it, you are suppose to get > a > list of local SMB servers. Unless you know that the Mac is also an > SMB > server you should not expect to see it. If my earlier guess is > correct, > and the Linux box is an SMB server, do you see the Linux box in that > window? > > > >
Re: Networking pb
On Sun, 08 May 2022 23:58:28 +0200 Hussein Yahia wrote: > I'm new to Linux, sorry if my question is naive. Your question isn't naive. But we need a lot more information from you in order to help you. Some of it may be obtained by executing command line commands we provide. Open a terminal, copy and paste the command into the terminal. When you have the results, copy and paste from the terminal to your reply email, and include the command line prompt and the one that follows the command's output. Also, be aware that SMB is a complicate mess of a protocol, and has lots op options. For that reason, SMB clients and servers such as Samba are not easy to configure. > I just installed debian 11 on my computer. It's wire-connected to > internet. I have another computer, a mac, which is connected through > wifi. I'm going to guess that this is a simple network, such as a home, with just the two computers on it. > > I can connect from my mac to the Linux desktop. What exactly do you mean by "connect"? SSH? ping? If you mean via SMB, that suggests you successfully set the Linux computer up as an SMB server. Did you? > But I can't connect > from the Linux to the mac: when I go in the "Network" directory, the > mac does not appear. I installed smb on the Linux desktop. When you go to what "Network" directory? How do you go to it? Is this in the GUI or command line? What GUI are you using? XFCE? Gnome? KDE? I'm going to guess that you have a file manger open, and it has a "Network" option, and that when you select it, you are suppose to get a list of local SMB servers. Unless you know that the Mac is also an SMB server you should not expect to see it. If my earlier guess is correct, and the Linux box is an SMB server, do you see the Linux box in that window? -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/