A Conversation for The H2G2 Programmers' Corner
CSS - hold the front page...
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted May 5, 2009
"Is gcc already compiled and if not how do I get it. Same for make."
Use the "Software Management" tool in YaST.
"How do you use Yast."
Click on "Computer -> YaST", then when the dialog box pops up enter your root password. You'll find "Software Management" about quarter the way up from the bottom.
Type the name of the package you're looking for into the "Filters" field at the top left corner. If it's available from the repositories you have installed it'll list it - you just need to click on it and select "Install".
"it reverts to some obscure make and runs at 16bit 77Hz which is quite dangerous."
In what way? It wouldn't offer that resolution unless the monitor told it it would work.
"My nVidia is unrecognised and it's using some obscure sound system."
nVidia drivers are under a weird license - they're not allowed to bundle them with the OS, but you can get them freely from nVidia's site. Try the 1-click installs here: http://en.opensuse.org/Nvidia#The_easy_way_to_get_NVIDIA
If they don't work you may have to go to the software repositories section of YaST and add the nVidia repositories.
The sound card may be trickier. Try finding out the model number of the sound chip from your motherboard manual and then searching for that number in the package database to see if there's a specific driver. If that fails, see if you can switch it to something generic like "AC97 Emulation" in the BIOS and apply a generic AC97 sound driver.
CSS - hold the front page...
Pirate Alexander LeGray Posted May 5, 2009
I haven't got an internet connection in openSUSE so I can't add online repositories.
But I have downloaded a .run file for nvidia and .rpm files for phenom.
They are in the shared fat32 partition.
There are a lot of files under repositories downloads OSS non_OSS but which ones do I need.
The easy install nVidia is only 3,65 something size but I've downloaded a 20MB .run file with these instructions, I tried to import into YasT and an error occured.
"1) Kernel sources must be installed and configured. Usually this means
installing the 'kernel-source', 'make' and 'gcc' packages with YaST2.
2) Use the nvidia installer for 180.22.
sh NVIDIA-Linux-x86_64-180.22-pkg2.run -q
3) Configure X.Org with
sax2 -r -m 0=nvidia (0 is a digit, not a letter!)
NOTE: There is no need to try to enable 3D support. It's already
enabled, when the nvidia driver is running.
IMPORTANT: You need to recompile and install the nvidia kernel module
after each kernel update.
sh NVIDIA-Linux-x86_64-180.22-pkg2.run -K
"
Do I just type these in run?
What is X.Org?
Do I type sax2 -r -m 0=nvidia and that's it all done?
CSS - hold the front page...
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted May 5, 2009
"I haven't got an internet connection in openSUSE"
Why not? This is the forst problem you need to address, as once you *do* have a connection then the other problems mostly have "one-click" online fixes.
What sort of broadband modem do you have?
CSS - hold the front page...
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted May 5, 2009
CSS - hold the front page...
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted May 5, 2009
CSS - hold the front page...
Pirate Alexander LeGray Posted May 5, 2009
umtsmodem.rpm is an rpm file; so I still need to know how to install rpm files.
I could just try and put it into YasT I suppose.
CSS - hold the front page...
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted May 5, 2009
From a command line, type:
rpm -i packagename.rpm
where "packagename" is whatever you're trying to install. (You need to CD to the same directory the RPM package is in...)
CSS - hold the front page...
Pirate Alexander LeGray Posted May 5, 2009
I could move it to repositories maybe;
then after cd\...\repositories
rpm -i huawei_umtsmodem-1.0.0-3.1.i586.rpm
I might have the wrong one, what is i586 should that be something like i386
CSS - hold the front page...
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted May 5, 2009
i586 means it's optimised for a Pentuium III or better; you should be fine with that.
I usually just download onto the desktop then
CD /home/myusername/Desktop
before issuing the commands. If it objects, you might have to precede the command with "sudo", thus:
sudo rpm -i whateveryoucallit.rpm
- it will ask for your root password when you do this, and then run it as if you were logged in as root.
CSS - hold the front page...
Pirate Alexander LeGray Posted May 5, 2009
I found this and will be reading it later.
http://www.rpm.org/max-rpm/
CSS - hold the front page...
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted May 5, 2009
I wouldn't bother. It's needlessly verbose, potentially confusing and doesn't give you any more practical info than my last couple of posts.
CSS - hold the front page...
Pirate Alexander LeGray Posted May 6, 2009
I tried; You have to be an expert in linux to install linux:
no gcc or make as far as YasT could see which shows error repositories not cached on entry.
libusb-0.1.so.4 is needed by huawei_umtsmodem..rpm
failed dependencies
As for nVidia:
unable to find system utility 'ld' make sure you have package 'binutils' installed.
Of course I can't download the dvd because it would take 12 hours and I only get 5 GiGs a month with 10p per MB fine for excess.
CSS - hold the front page...
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted May 6, 2009
"Of course I can't download the dvd because it would take 12 hours"
Head over to http://www.paranormal.org.uk/mustardland and start a thread in "The Bull". I'll give you my email address there - you email me a postal address and I'll send on the DVD next time I'm out.
It's a *lot* less hassle than this...
CSS - hold the front page...
Pirate Alexander LeGray Posted May 6, 2009
Somebody from openSUSE got me libutils.....rpm. My address is easy I'm on WHOIS for the wonderful arismetique.com
but I will check out the link this evening.
CSS - hold the front page...
Pirate Alexander LeGray Posted May 15, 2009
I can't believe beginners actually can do this stuff. I get different errors now but I don't understand the instructions:
become root:
su root
plug in the device
find the USB device IDs
lsusb | grep 12d1
The output could look like:
Bus 002 Device 004: ID 12d1:1001 Mine is reported as Huawei 660
The two last number, separated by a colon sign ":" are important:
The first one is the ID of the vendor, Huawei has 12d1
The second one is the ID of the product, the E169G HSDPA USB Stick has 1001.
Note both numbers for later use.
[edit]Disable usb_storage Can't understand how
It takes a few seconds till openSUSE 10.3 configures the
wait till the device becomes "visible" -- repeat till an output occurs:
df | grep Mobile gives empty space but what is df?
and an output should occur like this:
/dev/sr1 8250 8250 0 100% /media/Mobile Connect
eject the device (change /dev/sr1 to your output accordingly)
eject /dev/sr1
remove the usb_storage kernel module nothing happens
rmmod usb_storage
Warning! For the following commands be fast - otherwise the usb_storage module has to be removed again
[edit]enable modem
Setting the goal to get several /dev/ttyUSB* devices.
make sure that the usbserial kernel is not already loaded,
the following command should produce no output
lsmod | grep usb
If there is an output like this:
usbserial 34996 1 option
...remove the kernel module (here: 'usbserial) and all the dependencies (here: option), and if usb_storage reappeared, remove usb_storage too:
rmmod option usbserial usb_serial
load usbserial module into kernel, using USB device IDs from above:
modprobe usbserial vendor=0x12d1 product=0x1001
wait a moment a see USB devices (around 4) appear in "/dev"
ls /dev/ttyUSB*
should show:
crw-rw---- 1 root uucp 188, 0 Jun 24 18:06 /dev/ttyUSB0
crw-rw---- 1 root uucp 188, 1 Jun 24 18:06 /dev/ttyUSB1
crw-rw---- 1 root uucp 188, 2 Jun 24 18:06 /dev/ttyUSB2
crw-rw---- 1 root uucp 188, 3 Jun 24 18:06 /dev/ttyUSB3
Note: /dev/ttyUSB0 is the modem, use only this device. /dev/ttyUSB1 is the control channel, /dev/ttyUSB2 is doing GSM checks, /dev/ttyUSB3 job is not known to the author.
[edit]umtsmon
I tried out several tools to connect to the internet, such as knetwork manager. But none is capable handling the PIN. The PIN has to be entered only the first time (with modem commands), and every subsequent connection it has not, it will result in errors, doing so! So none of tools known to the author, and except umtsmon, is capable to handle such a special case.
[edit]Preparation
Start "Administrator Settings (YaST)" in the desktop (Admin password is required)
and add the default user into groups uucp and dialout:
select in "Security and Users" the button "Group Management"
in the new window "Set Filter" to "System Groups"
search for "dialout" and "Edit"
Look into "Group Memembers" and select your Account.
Finish this group with "Accept"
search for "uucp" and "Edit"
Look into "Group Memembers" and select your Account.
Finish this group with "Accept"
[edit]run umtsmon
Open a command line terminal, such as xterm and start umtsmon:
/usr/bin/umtsmon
fix the problems, if any detected (and restart umtsmon again)
enter the PIN
edit your profile (APN, username, password) according to your UMTS provider
[edit]openSUSE 11.0
Tested with openSUSE 11.0 on i386 architecture (Intel 32bit)
[edit]Required packages
ppp
huawei_umtsmodem downloadable from: [1]
umtsmon (optional) or NetworkManager-kde (optional)
[edit]Linux kernel
The kernel is capable to handle the UMTS stick correctly (in a way), but the modem is not fully initialized. Therefore its recommended to install the package huawei_umtsmodem (from [2]) to do this initialization: it executes program huaweiAktBbo via the udev on every plugin.
Nothing has to be done, except installation of package huawei_umtsmodem.
[edit]umtsmon
Open a command line terminal, such as xterm and start umtsmon:
/usr/bin/umtsmon
fix the problems, if any detected (and restart umtsmon again)
enter the PIN
edit your profile (APN, username, password) according to your UMTS provider
No problems known.
[edit]NetworkManager
NetworkManager will detect the device too. You can edit the profile (don't forget to enter the PIN of your SIM card), and then start the connection via the icon in the NetworkManager. No problems known.
[edit]Conclusion
It is suggested to install openSUSE 11.0, install additional package huawei_umtsmodem, and use umtsmon or NetworkManager for connection.
It's just too hard
The nvidia came up with different errors, and although the dvd you kindly gave me is installed says missing application.
At first it said I have a X-server running and I thought that must be the Desktop, since nothing else was running. Then I got a list of about a million missing files..
CSS - hold the front page...
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted May 15, 2009
"I can't believe beginners actually can do this stuff."
Generally speaking, they can't.
If you come across pages of waffle on how to install something, it's at least a sign that it *can* be installed. All you need to do now is look for an automated script/tool to do the installation - if there isn't one, leave it a week and look again. If there still isn't one, ask on the forum where you found all the waffle if someone will please write one.
CSS - hold the front page...
Pirate Alexander LeGray Posted Dec 24, 2009
Sorry to bother you but my pc suffered catastophic failure. I just felt lucky and put a photo frame up a few feet from the pc; it fell down not actually hitting the pc but nothing worked.
It wouldn't load anything, not even from CD and I put display all checks and they all reported ok and configured.
Nightmare; I jumped the clock back to zero several times, pulled a few wires out and put them back until after five hours I am back with default BIOS, but Windows is set back to the last time it worked.
Do you know what went wrong or anything I have to check?
Key: Complain about this post
CSS - hold the front page...
- 801: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (May 5, 2009)
- 802: Pirate Alexander LeGray (May 5, 2009)
- 803: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (May 5, 2009)
- 804: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (May 5, 2009)
- 805: Pirate Alexander LeGray (May 5, 2009)
- 806: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (May 5, 2009)
- 807: Pirate Alexander LeGray (May 5, 2009)
- 808: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (May 5, 2009)
- 809: Pirate Alexander LeGray (May 5, 2009)
- 810: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (May 5, 2009)
- 811: Pirate Alexander LeGray (May 5, 2009)
- 812: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (May 5, 2009)
- 813: Pirate Alexander LeGray (May 6, 2009)
- 814: Pirate Alexander LeGray (May 6, 2009)
- 815: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (May 6, 2009)
- 816: Pirate Alexander LeGray (May 6, 2009)
- 817: HappyDude (May 10, 2009)
- 818: Pirate Alexander LeGray (May 15, 2009)
- 819: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (May 15, 2009)
- 820: Pirate Alexander LeGray (Dec 24, 2009)
More Conversations for The H2G2 Programmers' Corner
Write an Entry
"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."