I have installed opensuse and i cant connect to the wifi or even plug the cord into the computer. it wont pick up the internet.
Welcome to openSUSE Forums jcurlz. I assume from your opening comments that you’re new to openSUSE and perhaps Linux itself?
There are two networking management frameworks supported by openSUSE:wicked and NetworkManager. The former is more suited to a static network environment (eg server in a fixed location) while NetworkManager is aimed at more mobile users who may change network environments frequently. You can select which of these you want to use with YaST > System > Network Settings > Global Options
The openSUSE guides for configuring wicked and NetworkManager can be viewed online here (PDF version are also available)…
https://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.reference/cha.network.html#sec.network.yast
https://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.reference/cha.nm.html
The output from this command can quickly help tell is NM or wicked is in use…
systemctl status network
The following commands can tell you the status of each network interface and if any IP address is assigned
ip a
and if a default route exists
ip r
This command can help identify details about wired and wireless network hardware, (driver loaded, status etc)
/usr/sbin/hwinfo --netcard
To list all wireless network device nodes
/usr/sbin/iw dev
That basic info might help us to determine where the problem lies.
systemctl status network
https://image.ibb.co/kVsCDo/37888885_499571437132746_937923834135183360_n.jpg
ip a
https://image.ibb.co/jmTVzT/37853986_499571513799405_8884686107191541760_n.jpg
/usr/sbin/hwinfo --netcard
https://image.ibb.co/ihjER8/37900901_499571590466064_7708997758337679360_n.jpghttps://image.ibb.co/nMzsDo/37854354_499571657132724_6662292955329462272_n.jpg
Hi jcurlz. Thanks for replying with the requested information. From that we now know
- You’re using wicked
- You have wired (enp4s0) and wireless (wlp2s0) network interfaces available, but not yet configured.
With wicked, configuration is done via YaST (openSUSE’s config utility). It is a little harder to use for a new user IMO, and NetworkManager would be my normal recommendation. For now we’ll stay with wicked and start the configuration process. You have both wired and wireless interface to choose from, but the basic process is the same (with wireless needing a few additional steps to provide the wireless credentials needed to connect to your AP)…
YaST > System > Network Settings
As mentioned in the openSUSE guide…
13.4.1.2 Changing the Configuration of a Network Card
To change the configuration of a network card, select a card from the list of the detected cards in Network Settings › Overview in YaST and click Edit. The Network Card Setup dialog appears in which to adjust the card configuration using the General, Address and Hardware tabs.
13.4.1.2.1 Configuring IP Addresses +&comment=13.4.1.2.1%20%20Configuring%20IP%20Addresses%0A%0Ahttps%3A%2F%2Fdoc.opensuse.org%2Fdocumentation%2Fleap%2Freference%2Fhtml%2Fbook.opensuse.reference%2Fcha.network.html%23sec.network.yast.change.address&assigned_to=fs%40suse.com&version=Leap%2042.2"]Report Bug](Log in to Bugzilla)
You can set the IP address of the network card or the way its IP address is determined in the Address tab of the Network Card Setup dialog. Both IPv4 and IPv6 addresses are supported. The network card can have No IP Address (which is useful for bonding devices), a Statically Assigned IP Address (IPv4 or IPv6) or a Dynamic Address assigned via DHCP or Zeroconf or both. If using Dynamic Address, select whether to use DHCP Version 4 Only (for IPv4), DHCP Version 6 Only (for IPv6) or DHCP Both Version 4 and 6. If possible, the first network card with link that is available during the installation is automatically configured to use automatic address setup via DHCP. DHCP should also be used if you are using a DSL line but with no static IP assigned by the ISP (Internet Service Provider). If you decide to use DHCP, configure the details in DHCP Client Options in the Global Options tab of the Network Settings dialog of the YaST network card configuration module. If you have a virtual host setup where different hosts communicate through the same interface, an DHCP Client Identifier is necessary to distinguish them.
Hopefully that is enough to get you connected.