Debian 12 installed via usb. cant use apt or wifi.

InvaderSumo

Member
Joined
Apr 25, 2024
Messages
86
Reaction score
9
Credits
824
Installed Deb 12 last night via flash drive.
Here's my problem though....
first one being at the top right of my screen. It shows no option for wifi at all. im forced to use my android wifi via usb tethering untill either i figure out if it wll ever recognize my internal hardware. or untill someone helps me figure out the reason why, havent used linux in a while. forgot most command except apt LMAOOOO.
please help. im using the 11 inch gateway laptop from walmart.
 


Welcome
you probably need to load the correct wi-fi drivers so
open terminal and run inxi -Nn and copy/paste back the result [we don't get gateway brand here, so I can't guess.]
 
inxi command not found
I thought it was pre-installed ... ok so from the terminal sudo apt update && sudo apt -y install inxi then try again
 
@brickkwizard... I did that just now and it says "debian is not in the sudoers file :/ also I tried apt updating at the start and it says
E: unable to lock directory /var/lib/apt/lists/
W: problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: permission denied)
W: problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: permission denied)
 
I even tried apt edit-sources and it says
E: could not open lock file /etc/apt/sources.list - open.... (Permission denied again)
 
Question have you installed it direct to hard drive or to a VM/VB
 
I'm using the file explorer and navigated to the apt file. This is what is inside the apt file using text editor...
deb cdrom: [Debian GNU/Linux 12.5.0 Bookworm - Official d64 dvd Binary-1 with firmware 20240210-11:28]/ bookworm contrib main non-free-firmware
deb http://ftp.us.debian.org/debian.org/debian/ bookworm main contrib non-free-firmware non-free
 
@GatorsFan.. alright I did that. And did sudo apt update && sudo apt -y install inxi... But now it's telling me this.

ebian@debian:~$ sudo apt update && sudo apt -y install inxi
[sudo] password for debian:
Ign:1 cdrom://[Debian GNU/Linux 12.5.0 Bookworm - Official amd64 DVD Binary-1 with firmware 20240210-11:28] bookworm InRelease
Err:2 cdrom://[Debian GNU/Linux 12.5.0 Bookworm - Official amd64 DVD Binary-1 with firmware 20240210-11:28] bookworm Release
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Hit:3 http://ftp.us.debian.org/debian bookworm InRelease
Reading package lists... Done
E: The repository 'cdrom://[Debian GNU/Linux 12.5.0 Bookworm - Official amd64 DVD Binary-1 with firmware 20240210-11:28] bookworm Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
 
11 inch gateway laptop from walmart.
A bit of history, Gateway were taken over by Acer a long time back, BUT although they own the brand name, it is franchised out to Walmart, the problem then arises that there are several versions of the 11" wall mart laptop made by various Chinese factories, using different components, and nowhere can I find any decent spec sheets for these products.
 
you should be able to install inxi via the synaptic package manager

make sure you have internet connection [hard-wired or teatherd mobile]

open menu
select administration, look for synaptic and open
click on search and enter inxi
select and install
 
I KNOW LMAO thats why im starting to not like this laptop. i downloaded debian so i could create another windows 11 usb and reinstall it considering linux is a pain on this pc when it comes to connectivity.... but cant even connect to internet unless using a wifi adapter or usb to ethernet adapter.. am gonna buy a new better laptop soon. probably a lenovo touch,,,, or one of those gaming laptops called the omen
 
im trying to use sudo nano to update my repos.... any idea what repos i should use considering the repos i hhave now arent working???
 
tried using synaptic manager to install ixni it gave me this

W: Failed to fetch cdrom://[Debian GNU/Linux 12.5.0 Bookworm - Official amd64 DVD Binary-1 with firmware 20240210-11:28]/pool/main/i/inxi/inxi_3.3.26-1-1_all.deb
 
I'm using the file explorer and navigated to the apt file. This is what is inside the apt file using text editor...
deb cdrom: [Debian GNU/Linux 12.5.0 Bookworm - Official d64 dvd Binary-1 with firmware 20240210-11:28]/ bookworm contrib main non-free-firmware
deb http://ftp.us.debian.org/debian.org/debian/ bookworm main contrib non-free-firmware non-free
The line that says "deb cdrom" should have been commented out by the installer.

And the other line is only for main repo which isn't enough, and the likely reason this happened because your installer had no internet access during setup.

your fix should look like this:

sudo nano /etc/apt/sources.list

Bash:
#deb cdrom:[Debian GNU/Linux 12.5.0 _Bookworm_ - Official amd64 NETINST with firmware 20240210-11:27]/ bookworm contrib main non-free-firmware

deb https://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb-src https://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware

deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
deb-src http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware

# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb https://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb-src https://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware

# bookworm-backports, previously on backports.debian.org
deb https://deb.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware
deb-src https://deb.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware
 
fixed my repos thanks caffieneaddict :))))

now i ran the ixni command and this is what it spat out at me...

debian@debian:~$ inxi -Nn
Network:
Message: No PCI device data found.
Device-1: Realtek 802.11n WLAN Adapter type: USB driver: btusb
IF-ID-1: enxcacb61209565 state: unknown speed: -1 duplex: half
mac: ca:cb:61:20:95:65
 

Members online


Top