Networking 101

I am having trouble making an Opensuse Server and a Windows 10 Machine communicate. I have an old server I was using for use as a PC but got frustrated because when I increased Ram it started acting foolish so I bought a prebuilt. A couple weeks ago I decided to dust off the server and put Opensuse on it and use it as a Server mainly for file storage and share right now. I have tried following various online guides to get the two machines to communicate but nothing I have tried has worked at all.

Running Win 10 with latest updates along with a couple distros of Ubuntu on main machine. Latest version of Opensuse on Server. Both are hardwired into Gateway, do not currently have internet service to cut down on some bills so we use the hotspots on our phones

I have never done any home networking because I never needed stuff to communicate in a manner that they needed to share files. Please be gentle and talk to me like a child so I understand what I am doing

Reasons for file sharing. I have a USB 3 add on card in server and all my externals are USB 3 and eventually when I get my radio show and band moving along I will be using the server to handle online music and stuff

Hallo and welcome.

That is a lot of story telling, but not much factual information.

Is your NIC functioning and has is a IP address?

ip addr

Can you reach that Windows system at all?

ping -c1 <IP address of the windows system>

Without such basics, you can not hope to realy exchange data over the LAN.

Need info about your machine, run the following command in a windowed console (like Konsole if you installed KDE, but can be any app your machine calls a “Terminal”)

cat /etc/os-release

Also,
If you think you made more progress following any guide, although you were unsuccessful, post the link to that guide. It’ll probably be easier to help you with a guide(If we agree it’s a worthwhile instruction) than to start from scratch.

TSU

Hi and thank you. Sorry I was trying to explain what I was doing. When I tried pinging my windows pc I got bash:syntax error near unexpected token ‘newline’

here is what the info on my machine
Name=“openSUSE Leap”
Version="15.1 "
ID= “opensuse leap”
ID_Like=“suse opensuse”
Version_ID=“15.1”
Pretty_Name=“openSuse Leap 15.1”
ANSI_Color=“0;32”
CPE_Name=“cpe:/o:opensuse:leap:15.1”

The two guides I tried were How To Samba With Suse 10.3 And Windows XP and [FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]https://forums.opensuse.org/showthread.php/528500-Setting-up-openSUSE-amp-Win10-file-sharing[/FONT]

[LEFT]Hi and thank you. Sorry I was trying to explain what I was doing. When I tried pinging my windows pc I got bash:syntax error near unexpected token ‘newline’[/LEFT]

First, please do not use fancy colours, it makes things difficult to read and has no added value.

Then, please show what you do and get:
There is an important, but not easy to find feature on the forums.

Please in the future use CODE tags around copied/pasted computer text in a post. It is the # button in the tool bar of the post editor. When applicable copy/paste complete, that is including the prompt, the command, the output and the next prompt.

An example is here: Using CODE tags Around your paste.

Your ip addr output is missing complete from your answer.
And when you get a syntax error in bash, you can be sure that that ping did not run at all, thus the ping test is still not done. But again we can not help when we do not see what you did and got.

You seem to have misunderstood or mistyped. This is an example of what was expected:

rayh@yoga3:~> ip address
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether b0:10:41:f3:87:81 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.76/24 brd 192.168.1.255 scope global wlan0
       valid_lft forever preferred_lft forever
    inet6 fe80::b210:41ff:fef3:8781/64 scope link 
       valid_lft forever preferred_lft forever
3: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 00:0e:c6:cd:12:5b brd ff:ff:ff:ff:ff:ff

rayh@yoga3:~> ping -c2 192.168.1.117
PING 192.168.1.117 (192.168.1.117) 56(84) bytes of data.
64 bytes from 192.168.1.117: icmp_seq=1 ttl=64 time=1.61 ms
64 bytes from 192.168.1.117: icmp_seq=2 ttl=64 time=1.13 ms

--- 192.168.1.117 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 1.133/1.374/1.616/0.244 ms
rayh@yoga3:~>

Is the Leap-15.1 server connected to the Internet? Can you access this forum from it? If possible can you copy and paste your terminal commands and their output into your forum posts (and include them inside CODE tags)?

I don’t know why it changed the colour of the text. I must have hit something by accident. I will us the CODE tags next time. But I took a picture with my phone and then typed it out because I am using my main for internet connection with my hotspot

It is not currently connected to the internet because it is not playing well with my wireless adaptor

Just saying: Don’t rely on wireless connections for a server. Do you have an ethernet cable? Can you connect your machine to your router with a cable?
And mind: most modern operating systems ‘need’ an internet connection.
Re. the wireless: can you take photos from the screen, put them somewhere on the web and share the URL here?

Right now we do not have internet coming to the house other than the hotspots on our phones. Both machines are currently hardwired to the modem I bought when we did have service. I was only trying to use a wifi adaptor fpr the purpose of copy and pasting anything into my forum replies.

I have an imgur account I can take pictures and add to my gallery then post here

Here is a link to the picture I took of ip addr, ping, and os version

No, there isn’t. You have to paste the BBCODE link from imgur here…

My router-modems have a USB port that can connect a or sim-card dongle for an Internet fallback service. Anyway getting some sort of network connection will be essential before worrying about file serving

This forum has a temporary paste service at https://susepaste.org/

https://imgur.com/NmjiWKA

I contacted the manufacturing company’s tech support about using my hotspot through the modem and they said I can’t. There is 2 usb ports on the modem. One in the front and one in the rear that is for media sharing but only recognizes 1 drive

“ifconfig” is deprecated in favour of “ip”, but still available in the Leap repositories and useful.

Eth0 seems to be electrically connected, but no network.
Check that the gateway device is acting as a DHCP server (Is the Win10 machine connected and receiving an IP address?), and is Leap- eth0 configured as a DHCP client (YaST > System < Network Settings)?

What do you get from “ipconfig” on Win10? How are things connected? Did you install Leap-15.1 as a server or a desktop?

On openSUSE, when you open a text console/terminal to type your commands,
The default will almost always be enhanced, which means you will see numerous features which aren’t normally found in terminals (particularly if you were using another distro), a few off the top of my head

  • Copy and paste using the DE clipboard so the same text can in turn be copy and pasted into another application, even an HTML browser like what you use to create Forum posts
  • Color coding for various reasons… Such as when you have elevated to root permissions.
  • Scrolling with scrollbars

If you prefer to use an unenhanced console/terminal, xterm is also typically installed in all Desktops by default.
If you are using xterm, you can still copy/paste, but not directly… Instead, you run your command and direct the output to a text file with a rt-angle like the following. If a file doesn’t already exist, one will be created and if a file already exists, the file will be over-written. In this case, the file is wherever your cursor’s position happens to be.

ping -n 3 127.0.0.1 > ping_result.txt

So, you have a certain and easy way to accurately paste your actual commands and results into your Forum posts.
Normally, you won’t have to snap a picture and then from the picture type something manually.

TSU