0

I have set the IP address and all but not getting connection.

Checked with lspci -vvnn and got

01:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:0042] (rev 31)
    Subsystem: Dell Device [1028:1810]
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx+
    Latency: 0
    Interrupt: pin A routed to IRQ 281
    Region 0: Memory at d1000000 (64-bit, non-prefetchable) [size=2M]
    Capabilities: <access denied>
    Kernel driver in use: ath10k_pci
    Kernel modules: ath10k_pci

02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 07)
    Subsystem: Dell RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [1028:078a]
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 278
    Region 0: I/O ports at e000 [size=256]
    Region 2: Memory at d1204000 (64-bit, non-prefetchable) [size=4K]
    Region 4: Memory at d1200000 (64-bit, prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel driver in use: r8169
    Kernel modules: r8169

Searched a bit and got this : Qualcomm Atheros Device [168c:0042] (rev 30) Wi-Fi driver installation

Though it is mentioned for Wi-Fi connection, still thought of giving it a try. This is what I got :

alpha@alpha-Inspiron-15-3567:~$ apt-get update &&apt-get upgrade
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
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)
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
alpha@alpha-Inspiron-15-3567:~$ 

Now what ?

Spectra
  • 205
  • 4
  • 14
  • You need to be root to use apt: `sudo su` `apt update && apt upgrade` – PhonicUK Sep 17 '18 at 19:39
  • Sudo is not working, apparently i am runnning commands without sudo prefix, Someone said here : https://askubuntu.com/questions/1076049/cant-understand-if-sudo-is-working-or-not that iam mrunning commnds from root shell – Spectra Sep 17 '18 at 19:42
  • "I have set the IP address and all" Where and how? Is it ethernet or wireless that you are having trouble with? Welcome ro Ask Ubuntu. – chili555 Sep 17 '18 at 19:43
  • @chili555 it is ethernet connection that is giving the trouble... I have perfect wifi connection. I edited the ethernet connection from netwtork connection, edited all the ip address, mask, gateway, DNS manually – Spectra Sep 17 '18 at 19:46
  • *Where* did you edit these settings? In Network Manager? In `/etc/network/interfaces` or where? May we please proofread the entries? – chili555 Sep 17 '18 at 20:22
  • From system settings > hardware > network > wired > edit > method - manual. I am new to ubuntu, i dont understand how to provide any information,should I take a srceenshot and edit the question ? – Spectra Sep 17 '18 at 20:30
  • I assume yours is a private internet address; that is, 192.something or 10.something, etc. Just tell us what the address, netmask, gateway and DNS are. Are they different from the settings given automatically for the wireless? – chili555 Sep 17 '18 at 20:33
  • ip 172.28.191.94 mask 255.255.255.0 gateway172.28.191.1 DNS 172.17.8.1 These address are for ethernet connection. For Wireless I am using/sharing my phone data,so It is different from the wired one. – Spectra Sep 17 '18 at 20:41
  • Are you quite sure the DNS is valid? Is there any improvement if you change the DNS to 8.8.8.8? – chili555 Sep 17 '18 at 20:44
  • Thats what i used when I was using windows7, wait let me check 8.8.8.8 – Spectra Sep 17 '18 at 20:46
  • Nope, no connection with DNS 8.8.8.8 – Spectra Sep 17 '18 at 20:50
  • Let us [continue this discussion in chat](https://chat.stackexchange.com/rooms/83289/discussion-between-chili555-and-spectra). – chili555 Sep 17 '18 at 20:54

0 Answers0