Hi everyone.
i recently shifted to Garuda. I'm in college and campus wifi has proxy (say 10.32.0.1 and port 8080). When I use wifi with password, everything works smoothly but using wifi with proxy is kind of a nightmare. e.g. I'm unable to update system, download/install any package with pacman or yay. I set the manual proxy in Network setting but still a lot of things are not working.
Please help me with this regard. How can I get everything run smoothly over wifi proxy.
Hi there, welcome to the forum.
When entering new topics, according to the relevant template, please always provide the output of
garuda-inxi
properly formatted, e.g. like this:
~~~
text
~~~
Sure thing.
System:
Kernel: 5.18.11-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=cdb92a07-bc79-43a9-b857-e60ea34286a5 rw rootflags=subvol=@
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=c12bd5c5-0803-49b8-9d96-74c1d8168e88 loglevel=3
Console: pty pts/0 wm: kwin_x11 DM: SDDM Distro: Garuda Linux
base: Arch Linux
Machine:
Type: Laptop System: ASUSTeK product: TUF Gaming FX505GD_FX505GD v: 1.0
serial: <filter>
Mobo: ASUSTeK model: FX505GD v: 1.0 serial: <filter>
UEFI: American Megatrends v: FX505GD.308 date: 02/08/2021
Battery:
ID-1: BAT0 charge: 34.4 Wh (100.0%) condition: 34.4/48.1 Wh (71.6%)
volts: 12.4 min: 11.7 model: Simplo SDI ICR18650 type: Li-ion
serial: <filter> status: full cycles: 41
CPU:
Info: model: Intel Core i5-8300H socket: BGA1440 (U3E1) note: check
bits: 64 type: MT MCP arch: Coffee Lake gen: core 8 built: 2018
process: Intel 14nm family: 6 model-id: 0x9E (158) stepping: 0xA (10)
microcode: 0xF0
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
L3: 8 MiB desc: 1x8 MiB
Speed (MHz): avg: 3967 high: 4002 min/max: 800/4000 base/boost: 2178/8300
scaling: driver: intel_pstate governor: powersave volts: 0.8 V
ext-clock: 100 MHz cores: 1: 4000 2: 4001 3: 4002 4: 4000 5: 3806 6: 3971
7: 3965 8: 3991 bogomips: 36799
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: ASUSTeK
driver: i915 v: kernel arch: Gen9.5 process: Intel 14nm built: 2016-20
ports: active: eDP-1 empty: none bus-ID: 0000:00:02.0 chip-ID: 8086:3e9b
class-ID: 0300
Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: ASUSTeK
driver: nvidia v: 515.57 alternate: nouveau,nvidia_drm non-free: 515.xx+
status: current (as of 2022-06) arch: Pascal process: TSMC 16nm
built: 2016-21 bus-ID: 0000:01:00.0 chip-ID: 10de:1c8d class-ID: 0300
Device-3: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo
bus-ID: 1-11:2 chip-ID: 13d3:56a2 class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3
compositor: kwin_x11 driver: X: loaded: modesetting,nvidia
unloaded: nouveau alternate: fbdev,intel,nv,vesa gpu: i915 display-ID: :0
screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: eDP-1 model: Najing CEC Panda 0x002d built: 2018
res: 1920x1080 hz: 60 dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64")
diag: 395mm (15.5") ratio: 16:9 modes: 1920x1080
OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2)
v: 4.6 Mesa 22.1.3 direct render: Yes
Audio:
Device-1: Intel Cannon Lake PCH cAVS vendor: ASUSTeK
driver: sof-audio-pci-intel-cnl
alternate: snd_hda_intel,snd_soc_skl,snd_sof_pci_intel_cnl
bus-ID: 0000:00:1f.3 chip-ID: 8086:a348 class-ID: 0403
Device-2: NVIDIA GP107GL High Definition Audio driver: snd_hda_intel
v: kernel bus-ID: 0000:01:00.1 chip-ID: 10de:0fb9 class-ID: 0403
Sound Server-1: ALSA v: k5.18.11-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 16.1 running: no
Sound Server-3: PipeWire v: 0.3.55 running: yes
Network:
Device-1: Intel Cannon Lake PCH CNVi WiFi driver: iwlwifi v: kernel
bus-ID: 0000:00:14.3 chip-ID: 8086:a370 class-ID: 0280
IF: wlo1 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK driver: r8169 v: kernel port: 3000 bus-ID: 0000:02:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: enp2s0 state: down mac: <filter>
Bluetooth:
Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB
driver: btusb v: 0.8 bus-ID: 1-14:3 chip-ID: 8087:0aaa class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 0 state: down
bt-service: enabled,running rfk-block: hardware: no software: yes
address: <filter>
RAID:
Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode]
driver: intel_nvme_remap v: N/A port: 5060 bus-ID: 0000:00:17.0
chip-ID: 8086:282a rev: N/A class-ID: 0104
Drives:
Local Storage: total: 1.14 TiB used: 38.82 GiB (3.3%)
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
model: PC SN520 SDAPNUW-256G-1002 size: 238.47 GiB block-size:
physical: 512 B logical: 512 B type: SSD serial: <filter> rev: 20110000
temp: 36.9 C scheme: GPT
SMART: yes health: PASSED on: 224d 12h cycles: 3,030
read-units: 61,441,960 [31.4 TB] written-units: 60,257,497 [30.8 TB]
ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000LX015-1U7172
family: FireCuda 2.5 size: 931.51 GiB block-size: physical: 4096 B
logical: 512 B sata: 3.1 speed: 6.0 Gb/s type: HDD rpm: 5400
serial: <filter> rev: SDM1 temp: 35 C scheme: GPT
SMART: yes state: enabled health: PASSED on: 1y 121d 3h cycles: 3027
read: 23.95 TiB written: 11.67 TiB Old-Age: g-sense error rate: 295
Pre-Fail: attribute: Spin_Retry_Count value: 100 worst: 100 threshold: 97
Partition:
ID-1: / raw-size: 229.37 GiB size: 229.37 GiB (100.00%)
used: 38.82 GiB (16.9%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2
maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 608 KiB (0.2%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
maj-min: 259:1
ID-3: /home raw-size: 229.37 GiB size: 229.37 GiB (100.00%)
used: 38.82 GiB (16.9%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2
maj-min: 259:2
ID-4: /var/log raw-size: 229.37 GiB size: 229.37 GiB (100.00%)
used: 38.82 GiB (16.9%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2
maj-min: 259:2
ID-5: /var/tmp raw-size: 229.37 GiB size: 229.37 GiB (100.00%)
used: 38.82 GiB (16.9%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2
maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 7.62 GiB used: 1.13 GiB (14.8%)
priority: 100 dev: /dev/zram0
ID-2: swap-2 type: partition size: 8.8 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
System Temperatures: cpu: 50.0 C pch: 54.0 C mobo: N/A
Fan Speeds (RPM): cpu: 0
Info:
Processes: 302 Uptime: 4h 3m wakeups: 13 Memory: 7.62 GiB
used: 3.28 GiB (43.1%) Init: systemd v: 251 default: graphical
tool: systemctl Compilers: gcc: 12.1.0 clang: 14.0.6 Packages: pacman: 1259
lib: 320 Shell: garuda-inxi (sudo) default: Bash v: 5.1.16
running-in: kitty inxi: 3.3.19
e[1;34mGaruda (2.6.5-1):e[0m
e[1;34m System install date:e[0m 2022-07-14
e[1;34m Last full system update:e[0m 2022-07-19 e[1;31m↻
e[1;34m Is partially upgraded: e[0m No
e[1;34m Relevant software: e[0m NetworkManager
e[1;34m Windows dual boot: e[0m No/Undetected
e[1;34m Snapshots: e[0m Snapper
e[1;34m Failed units: e[0m
As far as I can say, having no direct experience on this, I can only give you a few interesting Arch wiki articles about it:
https://wiki.archlinux.org/title/Proxy_server#Environment_variables
https://wiki.archlinux.org/title/Pacman#Pacman_does_not_honor_proxy_settings
https://wiki.archlinux.org/title/NetworkManager#Proxy_settings
You'll have to read a little bit and do some testing next time you can.
I'd go more towards setting the suggested environment variables and have sudo pass them to pacman, rather than trying the two suggested tools.
Of course, unless you'll get a more precise solution
Thank you very much. I read it and did some research and able to run pacman. I'm new in Linux and I struggle a bit. Will ask you again, if I'm stuck.
This is music to my ears…
Keep it up!
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.