LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problems with Terminal and Internet connection. Debian (https://www.linuxquestions.org/questions/linux-newbie-8/problems-with-terminal-and-internet-connection-debian-913704/)

Darth Geek 11-15-2011 02:56 PM

Problems with Terminal and Internet connection. Debian
 
Hi. I've been using Ubuntu for the past year and I've recently put Debian on my new laptop.

I'm not sure if this is where I have to post this so sorry if not.


So first of all, my computer doesn't connect to the wireless connection and I can't find the place to configure the internet connections. Before using Debian I had no problem with this...

I've managed to find a way that could solve this but it requires that I install a package. I downloaded this package with my older computer and copyed to the new one but when I type "apt-get install pcmciautils" it says "Couldn't open <</var/lib/dpkg/lock>> open 13 access denied

I've read somewhere that I have to type "sudo apt-get..." but then it says "sudo: couldn't find command"


(I'm translating all what the Terminal says from Spanish so it's quite likely that the equivalent message in English is not the same one)


Thanks in advance for helping in either the internet problem, the Terminal problem or both

craigevil 11-15-2011 03:01 PM

dpkg -i foo
not apt-get for local packages

inoculos 11-15-2011 04:06 PM

Also note:

1. that error message means you are trying to run 2 apt-gets at the same time. Make sure synaptic is closed before running apt-get on the command line, make sure you are not running updates at the same time etc.

http://www.debianhelp.co.uk/pkgadm.htm

2. You may have to configure sudo, you can use su in the command line to achieve a root shell

Type su
enter password, prompt should change from $ to #
then enter commands, but be careful as all commands are now ran as root and you can screw things up.
Type exit at the prompt when done being root. Prompt will change from # back to $

3. Depending on which desktop environment you are using you should have a gui to help you configure your internet

http://wiki.debian.org/WiFi/HowToUse

Darth Geek 11-23-2011 05:01 AM

Right. So installing that thingy didn't work. I've also noticed that I have no sound! And it also doesn't recognize my screen (I can't change the resolution because it says it doesn't recognize my screen). I still couldn't manage to fix the Wifi thingy...

So... any suggestions?

And maybe there's another unrecognized hardware. Is there a way to get all this done in once?

ukiuki 11-23-2011 08:22 AM

Check if you have linux-sound-base package installed,
about your screen if the problem is the resolution
then try this: http://forums.debian.net/viewtopic.php?f=16&t=64853
also: http://forums.debian.net/viewtopic.php?f=16&t=26577
and: http://www.linuxquestions.org/questi...onitor-912898/
Does your computer have RJ45 jack? So you can use wire connection, that will make things easier if you want to use apt-get or synaptic.

Regards


All times are GMT -5. The time now is 10:20 AM.