LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-08-2023, 09:51 AM   #1
purplepenguin17
LQ Newbie
 
Registered: Mar 2023
Posts: 10

Rep: Reputation: 0
Unhappy No internet connectivity (WiFi) when assigning static IP address for camera


I am new to Ubuntu so any help will be appreciated. I am trying to gain internet access through a wireless WiFi card after setting a static IP address for my IP camera.

Hardware config - 8265 Wireless Card Installed IP camera connected via ethernet cable to an ethernet to usb adapter and connected into my USB port

Network Config - Static IP address was set manually by the 'edit connections' and inserting address, netmask, and gateway Priority of IP camera is set to 200 Priority of WiFi is set to 100

I can see the camera feed through the web interface (no internet access needed) but when I try to search something like youtube, there is no internet present. If I unplug the ethernet connection, internet comes back and I am able to search the web.

Any suggestions would be great, newbie here
 
Old 03-08-2023, 10:03 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
Post the output of the route command when the ethernet is connected.
What version of linux are you running on the Nano? If Ubuntu it is possible Network Manager is changing the route based on which interface is connected.
 
Old 03-08-2023, 10:19 AM   #3
purplepenguin17
LQ Newbie
 
Registered: Mar 2023
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by michaelk View Post
Post the output of the route command when the ethernet is connected.
What version of linux are you running on the Nano? If Ubuntu it is possible Network Manager is changing the route based on which interface is connected.
Hi!!! I am using Ubuntu 18.04
When route is commanded here is the following status (I can't copy and paste bc I don't have access to internet so I am manually typing)
Destination, Gaetway, Genmask, Flags, Metric, Ref, Use Iface
default, _gateway, 0.0.0.0, UG, 20100, 0, 0 eth1
default, _gateway, 0.0.0.0, U, 20600, 0, 0 wlan0
10.85.244.0, 0.0.0.0, 255.255.240.0, U, 600, 0, 0 wlan0
link-local, 0.0.0.0, 255.255.0.0, U, 1000, 0, 0 docker0
172.17.0.0, 0.0.0.0, 255.255.0.0, U, 0, 0 docker0
192.168.100.0, 0.0.0.0, 255.255.255.0, U, 100, 0, 0 eth1

I have tried changing the priority a few times in the network GUI.
 
Old 03-08-2023, 10:35 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
Quote:
Destination Gateway Genmask Flags Metric Ref Use Iface
default _gateway 0.0.0.0 UG 20100 0 0 eth1
This confirms the gatway is eth1 which is why you can not connect to the internet which is over wlan. From your other thread I had thought the camera was connected using the USB ethernet adapter.

Look at the output of the command to see if Network manager is running
ps ax | grep NetworkManager

It is possible to configure Network Manager for static routing or disable Network Manger and configure networking manually.
 
Old 03-24-2023, 08:27 AM   #5
Koen34
LQ Newbie
 
Registered: Mar 2023
Posts: 4

Rep: Reputation: 0
You can do the following:-

1. Try assigning the static IP address and your PC and Camera should be on the same subnet.
2. Disable the dhcp by going to the admin panel of the camera.
3. Try to ping the camera IP address from your VM/Device.

If you follow the above steps, you should be able to ping the camera and then you can access the camera by entering the Camera admin page url.
 
  


Reply

Tags
ethernet, ip, network



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculate Server network issue assigning an Static IP Address techmom50 Calculate 1 11-01-2013 09:33 PM
Assigning printer a static IP-address with dhcpcd (.conf)? Paraply Linux - Networking 18 12-23-2011 08:25 AM
[SOLVED] Problem on assigning static ip address.. RHEL 5 as guest OS on Virtualbox odessy Linux - Newbie 4 08-28-2009 11:51 AM
Problem on assigning static ip address.. RHEL 5 as guest OS on Virtualbox odessy Linux - Networking 1 08-28-2009 09:22 AM
Assigning a static IP address hangs system??? dmangal Linux - Networking 2 05-16-2007 04:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration