I had to uninstall a proprietary ATI driver because it wrecked my X server. Apparently I removed the wrong package, because now the X server won’t even start, even with the “nomodeset” flag.
QUESTION 1
How can I configure WiFi on the command line with NetworkManager or ifup, whichever is easier?
QUESTION 2
Which packages do I need to download to restore the X server?
ifconfig wlan0 up
iwlist wlan0 scan
iwconfig wlan0 essid "your net name" ap <your mac address>
An Example: "iwconfig wlan0 essid "mynetw0rk" ap 00:11:22:34:55:66
dhcpcd wlan0
iwlist lists all available networks, pick yours out and get the essid and bssid (mac address)
If you need to use a WEP or WPA key, check the man on iwconfig and wpa-supplicant.
As for X:
sudo zypper in xorg
Also, in future thread requests please make your title more relevant to the subject of your questions.
Someone in that thread mentioned nmcli, a tool that can configure NetworkManager on the command line. Seems a lot easier than messing with ifup, so I was able to get eth0 up and running (had to sit next to my router) and do some additional research.
sudo startx mentioned that the fglrx driver was missing, which appeared to be a configuration leftover from when I had the non-functioning ATI driver. Then I backed up my current Xorg.conf and let startx start with default settings. Worked fine! I assume that my computer is back to using the non-proprietary radeon driver now.
can you check which kernel you are using; if you are using 2.38 from the tumbleweed then there is a problem with the new kernel/ati driver and ati repositories. It happened to me and there is a solution.
if you have all the two, i.e 2.38 kernel and ati repository then ati repository in your yast, it removes kernel-desktop-base of 2.38 and installs from 2.37. (after this I had no internet connection).
I disabled ati repository and reinstalled kernel-desktop-base for 2.38 and used the following patch to install the proprietary ati driver … follow the link for patch and the file to take care of.
I was able to get the proprietary ATI driver to work. I have kernel-desktop-2.6.37.1-1.2.2.x86_64, so no issues here. I used the linux.ioda.net repository listed on SDB:ATI drivers - openSUSE.