Wikipedia:Reference desk/Archives/Computing/2007 June 25

From Wikipedia, the free encyclopedia

Computing desk
< June 24 << May | June | Jul >> June 26 >
Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


Contents


[edit] June 25

[edit] hexadecimal in javascript

Is there any command in javascript to convert a number into a hexadecimal string? — Daniel 00:49, 25 June 2007 (UTC)

  • Yah. 54321.toString(16) returns D431 (for example). --jpgordon∇∆∇∆ 00:58, 25 June 2007 (UTC)
This doesn't seem to work in my browser. According to w3schools ([1]) that command converts dates to strings. — Daniel 16:12, 25 June 2007 (UTC)
It only converts dates to strings if you use it on a date. This works fine on Firefox and IE for me:
i = 255;
document.write (i.toString(16));
...will write ff. You can change the base too - changing the 16 above to 2 gives 11111111.
Matt Eason (TalkContribs) 16:22, 25 June 2007 (UTC)
Thanks. Aparently, it needs a variable (such as i in the second example). — Daniel 18:28, 25 June 2007 (UTC)
If you don't want to use a new variable you could just typecast it - parseInt(255).toString(16) — Matt Eason (TalkContribs) 18:53, 25 June 2007 (UTC)

[edit] Darwine x86

Has the darwine (x86) project gone under? All of the links on all of the mirrors of the x86 version are broken. Can anyone explain why, or give me a link to the newest version?--67.181.167.227 03:19, 25 June 2007 (UTC)

[edit] PSP

I really do not know if this is the right place to be asking this question but I will ask it anyways. Does anyone know how to store videos or DVD's on the Sony PSP? I know it has something to do with the memory stick card but can you download DVD's free to this card? Thanks for any responces.68.120.229.30 04:35, 25 June 2007 (UTC)

There's a way to do it manually but PSP Video 9 might just be simpler. -Wooty [Woot?] [Spam! Spam! Wonderful spam!] 21:04, 25 June 2007 (UTC)

Thank you this will help alot.68.120.224.35 05:03, 27 June 2007 (UTC)

[edit] A problem with Windows Movie Maker...

I tried to make an AMV with Windows Movie Maker, but there is an error every time after I drag the first clip down to the storyboard or timeline. I've sent error reports, but there's still an error. I s there a way to fix this problem? —The preceding unsigned comment was added by Sirdrink13309622 (talkcontribs).

What error do you get, exactly? And does it happen with all clips or just with specific ones? --Dapeteばか 10:02, 25 June 2007 (UTC)
Yeah, asking a computer person to fix your problem without giving an error number is like telling a car mechanic that a light won't turn off. What light is it? -- Phoeba WrightOBJECTION! 10:04, 25 June 2007 (UTC)

My Windows Movie Maker is on Windows XP. The error said that if I was in the middle of something, the information I was looking for might be lost. It didn't say the number but I told you what it said. Now, is there any way I could fix the problem?

Go to tools -> options -> compatibility and uncheck every box there. See if you can still play your clips. If not, go one by one and check one box at a time, checking each time to see if you can play your clips (audio and video). Once you get playing clips, stop. Basically, there's usually a bunch of codecs sitting around in WMM and WMM doesn't like all of them. So you need to narrow down which ones are absolutely vital (playing your video) and leave the rest off. -Wooty [Woot?] [Spam! Spam! Wonderful spam!] 21:03, 25 June 2007 (UTC)
Well, in the WMM situation, I clicked Start, then I went to System Tools but didn't see options to further solve the problem. What Tools are you talking about?
The Tools menu in Windows Movie Maker. — Matt Eason (TalkContribs) 16:58, 26 June 2007 (UTC)

[edit] All in one computers?

I know we used to have an article on this, but I can't seem to find it. Does anyone know of companies that make all in one computers? Obviously there's apple, and if you consider that HP monstrosity a desktop HP, there's also cybernetman and that weird sony thing, but there don't seem to be any others from what I can see. By desktop, I mean a computer that cannot feasibly be used as a laptop. Say, if it would be impossible to reasonably take it out and use it in an airport. Also, it preferably would conform to some standard, such as ATX or ITX. By all in one, I mean the computer has at least the monitor and motherboard/tower components as one unit. I'd also like to see keyboard computers, like some of cybernetman's, and the old C64s, but not as much. Mainly I ask because I'd like something that's somewhat stylish (like an iMac), but I don't want to pay Apple's hardware prices and then overwrite the OS with linux anyway -- Phoeba WrightOBJECTION! 10:03, 25 June 2007 (UTC)

A laptop computer? There isn't any commercially produced desktop computer that integrates the keyboard AFAIK. Also does it have to be small sized? Does a side panel-mounted LCD on a normal sized computer count? --antilivedT | C | G 10:11, 25 June 2007 (UTC)
Did you... read... my...post... at all? Really now, I made it very clear. -- Phoeba WrightOBJECTION! 10:18, 25 June 2007 (UTC)
Yes I did, and I clearly said there isn't one that integrate the keyboard on the market (at lest not one that I know of). It's relatively easy to cut apart your side-panels on your tower and stuff your LCD monitor behind that, does that count as an All in One computer? Does the iMac G4 form factor count as your "All in One?"? Please clarify what you actually want. --antilivedT | C | G 10:35, 25 June 2007 (UTC)
I did, very clearly. If you don't know of anything on the market, you obviously don't have the answer to my question do you? I know they exist, I'm just looking for more. -- Phoeba WrightOBJECTION! 10:45, 25 June 2007 (UTC)
I dont remember the model numbers, but Dell has a few where the mainboard cabinet is hung behind the monitor. And I saw some Sony models (there were calling it tabletop or something, I dont remember now), which was basically an 21 inch LCD monitor with a laptop kbd and touchpad hinged from the bottom of the monitor. The cabinet, in this one also, was hung benind the monitor. Better check some Sony World outlets out. --soum talk 11:08, 25 June 2007 (UTC)
I remember those dells too, the cabinet was really small like the size of a first-generation tablet pc and was hung behind or next to the lcd monitor. Keyboard not integrated though, that would be kind of dumb --frotht 13:46, 25 June 2007 (UTC)
There are still some I-openers out there, but that's pretty under-powered. I thought I saw eMachines or Compaq systems that fit your description, but I can't find anything like it on any stores, and I seem to recall they had integrated CRTs. I think a bunch came out after the iMac, but not since. -- JSBillings 12:33, 25 June 2007 (UTC)
I have seen pictures of computer built into keyboard, but not the actual device, so i am not sure if these are mass produced. It had a DVI port on back and optical disc drive in side. Inside there were some ITX or smaller form factor mainboard. There also were PC type computers shaped like iMac computers (if i remember correctly, these were even mass produced for some time, i cannot remember company name, which produced them, though.) -Yyy 12:37, 25 June 2007 (UTC)
You both are thinking of eOne, and Yyy you're thinking of Cybernetman which is what I talked about first. -- Phoeba WrightOBJECTION! 13:14, 25 June 2007 (UTC)

[edit] Windows SharePoint Services 3.0 DIPLOMA

I need to find a diploma work on Windows SharePoint Services 3.0 Powerdesa 10:22, 25 June 2007 (UTC) I am allso doing one and would like to compare with more of them. Are there any links to diploma library? Powerdesa 10:22, 25 June 2007 (UTC)


[edit] Using sftp with a public/private key pair from the command line.

Hello!

I have generated a pair of keys and am able to

  • use WinSCP to sftp files with my private key
  • use PuTTY to ssh into my account with my private key

However, when I try to use sftp at the command line, I get

$ sftp -oIdentityFile="/cygdrive/e/my_key.ppk" username@host.com Connecting to host.com... Enter passphrase for key '/cygdrive/e/my_key.ppk': Enter passphrase for key '/cygdrive/e/my_key.ppk': Enter passphrase for key '/cygdrive/e/my_key.ppk': username@host.com's password:

Is IdentityFile not the right thing to pick? If I choose a non-existent file, it jumps straight to

username@host.com's password:

So it must have some idea of what's going on. Could it be because my passphrase is about 30 characters long?

Use this script from the command line. Save it as publickey.sh instead of publickey.txt. Run it from the command line with the syntax like "sh publickey.sh kainaw@wikipedia.org". It will ask for the password to the remote server, log in, set up your keys, set permissions properly, and then quit. After that, you can "ssh kainaw@wikipedia.org" or "sftp kainaw@wikipedia.org" without a password. -- (¿ʇɐɥʍ) ʍɐuıɐʞ 15:58, 25 June 2007 (UTC)

I am already able to log in without a password. I know that my keys are set up correctly. I can tell this because when I use GUI clients like PuTTY for SSH and WinSCP for SFTP, I can do so using my private key, passwordless. My real question is how to tell the standard command-line sftp client to use the key I specify. My guess was sftp -oIdentityFile="/cygdrive/e/my_key.ppk" username@host.com which seems to be wrong. Thanks for the help, by the way!

[edit] Norton Confidential 2007

Hello. My Norton Confidential 2007 free trial has expired. I uninstalled it via Add/Remove Programs and restarted my computer. However, whenever I run Liveupdate in Norton AntiVirus 2007, Liveupdate shows that I still have Norton Confidential installed. I double-checked Add or Remove Programs in my Control Panel; Norton Confidential is gone. Is Norton Confidential 2007 actually uninstalled off my computer? Thanks in advance. --Mayfare 15:26, 25 June 2007 (UTC)

Hmm i can't give you a full answer here but i think that liveupdate did not update its list. If it has gone from your computer form the romove programs list then the computer sees it has gone and it is uninstalled. I would recommend looking throught the c drive and delete and files from this and then see live update otherwise its just liveupdate being silly and just ignore it.Wiki.user 11:59, 26 June 2007 (UTC)

[edit] Adding urls to del.icio.us

Forgive my tone of voice; I'm feeling a tad irritated. My question: is there a way to simply add bookmarks to del.icio.su without sticking those buttons on the browser I'm currently using? The other bookmarking service I use, a more obscure one called MyBookmarks, does this by default. If del.icio.us doesn't offer this feature, why the **** not? (TO be precise, I just want to be able to stick in a bookmark by pasting the url and giving it a name; I don't need any other song and dance.) \sim Lenoxus " * " 17:05, 25 June 2007 (UTC)

http://del.icio.us/postMatt Eason (TalkContribs) 18:58, 25 June 2007 (UTC)
Sorry, the sub-page seems to have gone, unless you mean that the answer is right on the front page. \sim Lenoxus " * " 00:47, 26 June 2007 (UTC)
Never mind it works (I wasn't logged in). Thanks so much! Wonder why the delicious help doesn't make that clearer… \sim Lenoxus " * " 00:49, 26 June 2007 (UTC)

[edit] Setting up a link between an IP address and a web site on a personal computer

I purchased a domain name and hosting service but the hosting service turned out not to be Full Trust as required by the starter kit I was installing. Although I cancelled the hosting service I still had the domain name. I wanted to point the domain to the personal webspace provided by my ISP since it at least had one canned cgi script I could use to get responses from visitors to the site. Although the domain name provider offers a direct link from the domain name to any IP address it does not seem to be working. An arbitrary domain name generated by a DNA service, however, will point to any IP address I select and is currently pointed to the personal webspace provided by my ISP.

However, I would like to point the domain name at a website I have created on my personal computer although I realize the connection will be slow. What I need are step by step instructions as to how to setup my DSL modem, router and computer so that this can be done.

Are there any instructions on the Internet for doing such a thing?

71.100.3.132 17:34, 25 June 2007 (UTC)

There aren't any specific instructions because what you need to do depends on what kind of services and products you have. Here are the basics:
  1. Register the IP address provided to you by your ISP with the DNS registrar.
    1. Okay, my domain name provider (registrar) does have an option to point my domain name at any ip address I want. I think they check it out first but in the case of it being pointed at the IP address for the web space provided by my ISP it has to be followed with the username and that's all. So that part is up and running. 71.100.3.132 23:18, 26 June 2007 (UTC)
  2. Configure your Router/Gateway to forward port 80 to your personal computer. How this is done depends on what device you have. Check the documentation.
    1. I recall doing this part a long time ago when I had cable insted of DSL so to make it less complicated I've replace the router with a hub. I'm already getting BOT hits since the modem's firewall is not yet enabled. After configuring such preliminaries then all I need to do is to tell the DSL modem which LAN address to forward hits on WAN port 80 to, right? 71.100.3.132 23:18, 26 June 2007 (UTC)
  3. Run a webserver on your personal computer.
    1. Next its just a matter of configuring my website control program to accept hits on port 80 and I'm all done or should I be aware of things like bad guys using my computer to declare war on France? 71.100.3.132 23:18, 26 June 2007 (UTC)

-- JSBillings 00:08, 26 June 2007 (UTC)

[edit] Downloading speed question

Hi, I have ADSL broadband with around 3 Mb/s max speed however I've noticed that when downloading files from the internet I'm only reaching, at the most, around 50 Kb/s. Does anyone have any ideas of what the problem is as I can't see anything on the settings or elsewhere to get the download speed up a bit closer to 3MB/s My operating system is windows XP. Thanks AllanHainey 11:48, 25 June 2007 (UTC)

there are too many problems with pipeline,overhead,etc...to get a perfect speed the provider or place where you are downloading from would have to have a 3MB connection as well and close to you to not be processed by that many routers,switches,gateways etc. and then you would have to have no packet loss at all...basically if you're asking why it's so slow...blame the place you're downloading from...i have a 2 mb connection and i sometimes get over 2 mb's...in spikes anyways...it just depends...some old diablo servers i connect too i get crazy lag and bad connection, you gotta remember the game diablo was not optimized for this type of connection speed and...again...it'd have to be my next door neighbor running the server for it to be better connection and we'd have to be on the same router from the same ISP and basically...you just need to see if it's the place you are downloading from try an online speed test...2 sites i recommend are DSL Reports and SpeakEasy 200.35.168.129 20:44, 25 June 2007 (UTC) Ag for MemTech
Thanks, I'm doubtful that the problem is just the distance from the download location but I'll check out the 2 sites you give when I get home, what should I expect them to show if the problem is as you suggest? AllanHainey 11:52, 26 June 2007 (UTC)
Also does it matter which server you select as all the options are a few thousand miles away (I'm in the UK)? AllanHainey 11:57, 26 June 2007 (UTC)
Ok I've had a chance to run a few speed tests now & it looks like the distance from where I'm downloading is reducing the download speed a good deal but it isn't accounting for all the loss. The speakeasy speedtest (NY server) shows a download rate of 1009kbs (126.1 kbs transfer rate) while http//sod.ms/fast/ shows download of 1.3921Mbs. The UK site speedcheck.ispconnect.co.uk shows my bandwidth at 2.76Mbps but download at 353.3kbs and speedtest.bulldogdsl.com says my download speed is 280kbs.
There seems to be a lot of variability between these download speeds but all are a good bit higher than I'm getting at the moment (less than 50kbs)so does anyone have an idea of what else could be the problem?
Also anyone know the difference between the download speed and the transfer rate?
Thanks AllanHainey 11:54, 29 June 2007 (UTC)

[edit] Windows Speed vs mac Speed

This may have been asked on the help desk a few months ago, but I was unable to find a conclusive answer. I have 3 computer with identical technical specs, one with Windows XP, one with Windows Vista and one with Mac OS X Leopard. Which of the three computer would be the fastest in a) normal everyday browsing, b) graphic/web design and c) games? Thanks. Acceptable 18:09, 25 June 2007 (UTC) EDIT: sorry, I didn't realize Leopard wasn't out yet. Please use the newest version of of Mac OS X instead.

Since Apple's MacOSX Leopard isn't out yet, it'd be hard to make these estimates unless you were using one of the developer seeds. Also, in the case of a), it depends on the browser, comparing the default browser of Explorer on windows to the default browser of Safari on macosx, you're going to see vastly different speeds depending on the test. It might be worth comparing the same browser (say, Firefox or Opera) on each. b.) You can check some of the benchmarks done on the MacPro running MacOSX and Windows XP, [2]. For c.) I can't think of any cross-platform games that are CPU intensive. I know that some games were announed recently for MacOSX, but they're all running under API emulation provided by TransGaming Technologies. -- JSBillings 18:48, 25 June 2007 (UTC)

It will depend on a lot of things. A- this will depend on your browser. SwiftFox or Fasterfox will be better than firefox, for example. B- it will depend on what apps you want to use for this again. MS Paint Vs. Photoshop would obviously make Paint faster, but photoshop more powerful. C- Again, depends on the game. Chances are, any game you can play on a mac and a PC on any reasonable computer nowadays won't have much of a difference between OSX and XP. Vista of course takes much more resourced. The less powerful your OS, the faster it will run on hardware, but it could also limit your choices in applications, or security in the case of Win95/98. If you really want a lightning quick computer, try out Damn Small Linux, Puppy Linux, and DeLi Linux, which are all meant to be very small and run on very old systems, but should still be capable of running modern apps. The entire OS should be able to run inside your RAM, which makes loading things like web browsers and programs incredibly quick.

I think you are kind of barking up the wrong tree, processing speed isn't really a selling point amongst modern operating systems, maybe booting speed, but not browsing or photo editing speed. There are other factors differentiating the operating systems which far outweigh the negligible difference in speed, which is far more dependant on your hardware and the specific applications you are running rather then the OS. If you look at it that way, Linux is probably the fastest, because the money you save on not having to purchase windows you can use to buy a better processor. ;) Vespine 22:44, 26 June 2007 (UTC)

[edit] Export windows network drive mappings.

I routinely work on multiple PCs throughout the day, but on our network, the only default network drive mapping is for the personal dirctory. If I create drive mappings on a PC they stay, but they are not imported if I log onto another pc. Is there a way to export the drive mappings to a file so that I could import the drive mappings on any PC hat I wanted to use?

Thanks! -Czmtzc 19:50, 25 June 2007 (UTC)

  • It sounds like you want a Windows Logon Script. Use the command net use drive \\computername\sharename\ to map each of your desired drive letters in your script. You can attach the script to your domain profile, or simply run it every time you log into a computer. -wizzard2k (C-T-D) 03:34, 26 June 2007 (UTC)

[edit] Blocking access of computer on router

I have two computers linked to my D-Link Gold Series Router. Is there anyway that I can block the internet access of Computer B using Computer A? Acceptable 19:56, 25 June 2007 (UTC)

For some routers you can block/allow access for special ips. Don't know if this is possible with an D-Link Gold Series Router. 84.160.217.154 21:01, 25 June 2007 (UTC)
You could do MAC filtering. Splintercellguy 22:39, 25 June 2007 (UTC)

[edit] Apple Pages Page Numbering

I am using Apple Pages, and want to create a document with the page number for left-hand pages at the bottom left and vice versa. I have followed instructions and selected 'Facing Pages,' but still it formats the footers the same... What do I need to do? It's driving me mad!

Many thanks,

--Fadders 20:47, 25 June 2007 (UTC)

[edit] Installing Linux --- difficult case

I upgraded my old box with a new hard drive and a second ethernet card and now I'd like to install an up to date linux version.

The problem is that the new linux is on dvd while the box can only read cd, so I need to install via nfs from another machine. Now that I've never done that before this would be enough of an adventure, but, to make it really interesting, the old linux version refuses to recognize any of the ethernet cards (error "SIOCSIFADDR: No such device") which worked fine up until today.

I can boot with an ancient version of knopix and access the internet fine and easy, so it's not the hardware that's wrong.

All valuable data have been saved to the other machine yesterday so special care is not a point.

Any ideas what could be done? And do you think the old version is alive and in fear of death?

84.160.217.154 20:57, 25 June 2007 (UTC)

Most major distros come with a bootable live CD from which you can download the necessary stuff. CD, not DVD. --User:Krator (t c) 22:34, 25 June 2007 (UTC)
Yes but I have only the dvd. And it's suse (for historical compatibility with the other machines) and I don't want to pay for Microsoft Linux). I should add that the machine in question is old and I intend to use it for experimenting and testing, kind of real life chips and disks adventure game. 84.160.217.154 06:14, 26 June 2007 (UTC)
Output of ifconfig -a? Is anything picked up in the dmesg?
ifconfig sees only lo, no eth0 nor eth1. /var/log/boot.msg shows an attempt to set up both eth0 and eth1 (known from the config?) each followed by the "SIOCSIFADDR: No such device" message and then "eth0: no such device". It would be interesting, too, how the ethX devices come into existence before ifconfig binds them to an ip. 84.160.217.154 06:14, 26 June 2007 (UTC)
Strangely, when shutting down, an error message reads "eth0eth0: no such device" 84.160.217.154 06:29, 26 June 2007 (UTC)
You probably have the wrong kernel driver set for the interface. Check to see what driver is being loaded, and whether it is the appropriate one. -- JSBillings 12:19, 26 June 2007 (UTC)
These messages only mean it couldn't find any network card. Since you say the network cards were being recognized until today, I'd suspect either one or both of the cards are not seated properly on the slot (I've seen that happen several times). Try running lspci and see if it shows the network cards (and if their type is shown correctly); if they don't show, it's a hardware problem, and the first thing you should try is to remove and reseat both cards (and also any other PCI card you might have). --cesarb 12:34, 26 June 2007 (UTC)

It's not easy. Somewhere in my dungeon I've found an ancient disk of floppy and managed the half forgotten spell of mcopy. That way I've got the output of lspci to my other old computer and from there to the next one which has internet access:

janus:~ > /sbin/lspci -vv
00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge (rev 02)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
        Latency: 32
        Region 0: Memory at e0000000 (32-bit, prefetchable)
        Capabilities: <available only to root>

00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge (rev 02) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
        I/O behind bridge: 00008000-00008fff
        Memory behind bridge: 80200000-802fffff
        Prefetchable memory behind bridge: 80300000-820fffff
        BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B+

00:07.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02)
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0

00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01) (prog-if 80 [Master])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32
        Region 4: I/O ports at 9030

00:07.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32
        Interrupt: pin D routed to IRQ 11
        Region 4: I/O ports at 9000

00:07.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 02)
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-

00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev 10)
        Subsystem: Realtek Semiconductor Co., Ltd. RT8139
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 (8000ns min, 16000ns max)
        Interrupt: pin A routed to IRQ 10
        Region 0: I/O ports at 7000
        Region 1: Memory at 80100000 (32-bit, non-prefetchable)
        Expansion ROM at 80120000 [disabled]
        Capabilities: <available only to root>

00:0e.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev 10)
        Subsystem: Realtek Semiconductor Co., Ltd. RT8139
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 (8000ns min, 16000ns max)
        Interrupt: pin A routed to IRQ 3
        Region 0: I/O ports at 7400
        Region 1: Memory at 80100400 (32-bit, non-prefetchable)
        Capabilities: <available only to root>

01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro AGP 1X/2X (rev 5c) (prog-if 00 [VGA])
        Subsystem: ATI Technologies Inc 3D Rage Pro AGP 1X/2X
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 (2000ns min), cache line size 08
        Region 0: Memory at 81000000 (32-bit, prefetchable)
        Region 1: I/O ports at 8000
        Region 2: Memory at 80200000 (32-bit, non-prefetchable)
        Expansion ROM at 80220000 [disabled]
        Capabilities: <available only to root>

janus:~ > 

Now I'm looking for a luckstone and a scroll of help. (At least I could avoid to start playing nethack on the old box right away ;-)

Thanks so far. 84.160.223.83 18:47, 26 June 2007 (UTC)

These are both RTL8139, and are being recognized; check lsmod to see if either 8139too or 8139cp is loaded (if not, try using modprobe to load them), and check the dmesg output for errors (they will probably either mention the module name or the interface name, or be just before/after a line which mention them). --cesarb 00:48, 27 June 2007 (UTC)
There is none of these modules loaded, but locate 8139 shows 8139too.o exists. modprobe 8139too runs ok and lsmod lists 8139too as unsused. ifconfig still knows only lo but neither eth0 nor eth1.
Next try with ethernet physically connected, no difference (well, as expected, but I wanted to be sure). Now I used yast to change the ip for eth0 and afterwards ifconfig showed both eth0 and eth1. I should be happy now but I don't understand what happened. How did yast manage to create eth0 and eth1? 84.160.200.172 08:32, 27 June 2007 (UTC)

[edit] Conversion

Hi, does anyone know of a good program to convert DVD video files into MPEG-1 files? 24.19.234.96 22:21, 25 June 2007 (UTC)

MediaCoder is a nice and good program for just about any conversion. --User:Krator (t c) 22:35, 25 June 2007 (UTC)
VLC --h2g2bob (talk) 02:09, 26 June 2007 (UTC)
SUPER converts anything to anything :) -Wooty [Woot?] [Spam! Spam! Wonderful spam!] 13:17, 26 June 2007 (UTC)

[edit] Your download will start in several seconds ...

Many websites use a page that will pop up a download in several seconds, with the ever-present "if your download does not start, click here" link. Why do these website use such a method? I would think that direct links or something that does not delay the download works better. Is this a security/bot prevention thing? --User:Krator (t c) 22:53, 25 June 2007 (UTC)

They may want to keep your eyes on their web-page for a few extra seconds so you see their sponsored ads. Or, their web-server may actually be querying a database, running a background program, or other "slow" process, to deliver the file to you. Nimur 23:02, 25 June 2007 (UTC)
The page will redirect to the actual download link, instead of getting you to the actual link. Some browsers don't support automatic redirects, so clicking the link will initiate the download.
Along with what Nimur said, it also prevent people from giving direct links. So if I want you to download a file from www.example.com, and that file is called program.exe. It stops me from linking like this: www.example.com/program.exe. The benefit of this (from the website's point-of-view) is that instead, I'll have to link you to this page: www.example.com/program.html (where the download will begin after several seconds), thus allowing your eyes to witness their sponsored ads. If I gave you a direct link, it stops you from visiting their webpage altogether.- Akamad 04:52, 26 June 2007 (UTC)

[edit] Javascript and long variables

Hi.

I am trying to make a website to host some recipes and photos of mine. My plan was to have thumbnails of the food arranged in a bar on the left side of the page, and when you click on the thumbnail, a photo and the recipe pops in the main part of the page.

I wrote a very simple javascript to do this:

function ChgPodium(freshpod, captiont) {document.img_podium.src=freshpod; document.getElementById('captiontxt').innerHTML=captiont; }

See? When you call the function, you give it the location of the image and you type in the recipe in captiont. The problem is, the recipe has to be written out all in one line (if you line break, it screws everything up). And, although it worked great on my computer, when I tried to upload it, it looked like lines could only be so long. What should I do? 65.94.220.211 23:10, 25 June 2007 (UTC)

I would avoid doing it that way completely. What if someone wants to link to a specific recipe of yours? If you're switching the content like that, they won't be able to. — Matt Eason (TalkContribs) 23:51, 25 June 2007 (UTC)
Why try to put everything all on one line?

This:

foo("abcdefghi")

is (I think) equivalent to this:

foo("abc"+
    "def"+
    "ghi")

[edit] Installing Linux --- Level Two

This is the continuation of "Installing Linux --- difficult case". I have an old linux box with no dvd drive and want to install a newer linux from dvd. This is not a vital task, it's just like playing a "chips and disks" adventure game instead of dungeons and dragons, so I'm not going the much easier way of investing the time in earning some money and simply buy a new computer with dvd drive.

The old box has (now) access to the local network where an installation dvd with suse 10.2 is exported from a second box. I can mount that directory from the old box all right. Now I insert the boot cd from the old linux into the old box and reboot. Aborting the installation takes me to a menu where I can load module 8139too and from there on there is an option to boot via nfs with a menu where I can enter all necessary network information, that is mainly the ip of the box, the ip of the server and the directory from where to install. Finishing that, I get a big red window telling me "Cannot find the image". Here I am at loss because, from the other box, I can see that there really is no such thing as, say, suse102.iso or something like that. 84.160.200.172 12:10, 27 June 2007 (UTC)