Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #248011 > unrolled thread
| Started by | Hussein Yahia <h.yahia@orange.fr> |
|---|---|
| First post | 2022-05-09 00:10 +0200 |
| Last post | 2022-05-09 14:40 +0200 |
| Articles | 6 — 4 participants |
Back to article view | Back to linux.debian.user
Networking pb Hussein Yahia <h.yahia@orange.fr> - 2022-05-09 00:10 +0200
Re: Networking pb Charles Curley <charlescurley@charlescurley.com> - 2022-05-09 01:00 +0200
Re: Networking pb Hussein Yahia <h.yahia@orange.fr> - 2022-05-09 01:40 +0200
Re: Networking pb Charles Curley <charlescurley@charlescurley.com> - 2022-05-09 04:10 +0200
Re: Networking pb Kent West <westk@acu.edu> - 2022-05-09 14:20 +0200
Re: Networking pb mick crane <mick.crane@gmail.com> - 2022-05-09 14:40 +0200
| From | Hussein Yahia <h.yahia@orange.fr> |
|---|---|
| Date | 2022-05-09 00:10 +0200 |
| Subject | Networking pb |
| Message-ID | <EkXge-eb8l-7@gated-at.bofh.it> |
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 ? Thanks ! hussein
[toc] | [next] | [standalone]
| From | Charles Curley <charlescurley@charlescurley.com> |
|---|---|
| Date | 2022-05-09 01:00 +0200 |
| Message-ID | <EkY2C-eboV-1@gated-at.bofh.it> |
| In reply to | #248011 |
On Sun, 08 May 2022 23:58:28 +0200 Hussein Yahia <h.yahia@orange.fr> 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/
[toc] | [prev] | [next] | [standalone]
| From | Hussein Yahia <h.yahia@orange.fr> |
|---|---|
| Date | 2022-05-09 01:40 +0200 |
| Message-ID | <EkYFj-ebQy-1@gated-at.bofh.it> |
| In reply to | #248013 |
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 <h.yahia@orange.fr> 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? > > > >
[toc] | [prev] | [next] | [standalone]
| From | Charles Curley <charlescurley@charlescurley.com> |
|---|---|
| Date | 2022-05-09 04:10 +0200 |
| Message-ID | <El10t-edoB-1@gated-at.bofh.it> |
| In reply to | #248016 |
On Mon, 09 May 2022 01:31:35 +0200 Hussein Yahia <h.yahia@orange.fr> 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 root 1433 0.0 0.0 82592 14004 ? Ss May03 0:01 /usr/sbin/smbd --foreground --no-process-group root 1490 0.0 0.0 80424 6164 ? S May03 0:00 /usr/sbin/smbd --foreground --no-process-group root 1492 0.0 0.0 80432 5244 ? S May03 0:00 /usr/sbin/smbd --foreground --no-process-group root 1520 0.0 0.0 82664 9332 ? S May03 0:03 /usr/sbin/smbd --foreground --no-process-group root 2875 0.0 0.0 0 0 ? I< May03 0:00 [smb3decryptd] root 2883 0.0 0.0 100080 13004 ? S May03 0:03 /usr/sbin/smbd --foreground --no-process-group root 25184 0.0 0.0 91804 13512 ? S May04 0:03 /usr/sbin/smbd --foreground --no-process-group root 73157 0.0 0.0 83084 11740 ? S May06 0:01 /usr/sbin/smbd --foreground --no-process-group root 73160 0.0 0.0 82960 11768 ? S May06 0:01 /usr/sbin/smbd --foreground --no-process-group root 137417 0.0 0.0 83088 13844 ? S 09:49 0:00 /usr/sbin/smbd --foreground --no-process-group root 141258 0.0 0.0 83088 14552 ? S 12:08 0:00 /usr/sbin/smbd --foreground --no-process-group root 147939 0.0 0.0 6312 716 pts/8 S+ 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/
[toc] | [prev] | [next] | [standalone]
| From | Kent West <westk@acu.edu> |
|---|---|
| Date | 2022-05-09 14:20 +0200 |
| Message-ID | <ElawN-ejXM-5@gated-at.bofh.it> |
| In reply to | #248011 |
[Multipart message — attachments visible in raw view] — view raw
On Sun, May 8, 2022 at 5:06 PM Hussein Yahia <h.yahia@orange.fr> 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
[toc] | [prev] | [next] | [standalone]
| From | mick crane <mick.crane@gmail.com> |
|---|---|
| Date | 2022-05-09 14:40 +0200 |
| Message-ID | <ElaQ9-ek4A-7@gated-at.bofh.it> |
| In reply to | #248011 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web