Skip to main content

All Questions

Tagged with
0 votes
1 answer
59 views

Python IP validation giving incorrect results

I'm trying to validate IP, gateway and subnet mask inputs using the ipaddress library, however I'm getting invalid results when I'm actually trying to use the validated network, which makes me think ...
user2384330's user avatar
0 votes
0 answers
28 views

How can I route network calls from the cloud via an on-prem Squid proxy

I have a service running in Azure which involves scraping external websites, however these external sites blacklist non-residential IPs. I have bought a Raspberry Pi and have installed Squid (running ...
Calum Peebles's user avatar
-4 votes
1 answer
115 views

Get longitude and latitude in java [closed]

I want track my location using longitude and latitude in linux I am trying get longitude and latitude using public ip address but i want using system ip address
Shubham Pandharpote's user avatar
0 votes
1 answer
1k views

Yocto makes DHCP request when configured with static IP

I recently took over a project, where a linux image is built with yocto. I updated the layer references to the newest version in dunfell (they were stuck in november 2020) and implemented the ...
Jeanot Zubler's user avatar
-1 votes
1 answer
1k views

linux + formula to convert IPV6 address to IP address

Formula to convert IPv6 Address to IP address number I'm looking for a formula to convert IPV6 address to IP address . for example - lets say we have the ipv6 as the following Input IPV6 address : ...
Judy's user avatar
  • 1,817
-1 votes
1 answer
1k views

ip addr output: mgt: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000

I am trying to retrieve the ip addr of the linux system. What is the meaning of "qdisc mq state UP qlen 1000" ?
amber long's user avatar
0 votes
0 answers
136 views

How can I identify IP address time to renewal in C program?

I know how to get IP address of the interfaces using getifaddrs(). But how to know how much time is left until this address may change due to DHCP lease expiration? dhcpclient shows it when renewing ...
Anonymous's user avatar
  • 629
0 votes
0 answers
83 views

Can the sending address:port be set from a packet received before sending (relaying) UDP?

Similar to How to set source address when sending using and UDP socket, but not identical: I'm writing an experimental UDP packet relay. The code works so far, but the problem is that the relayed ...
U. Windl's user avatar
  • 4,069
0 votes
1 answer
863 views

ip: Host name lookup failure

Here my code. I'm getting Host name lookup failure. import random import time import os sec = int(input(" input time to change Ip in Sec: ")) limit = int(input('how many time do you want to ...
user avatar
0 votes
1 answer
818 views

Display ethernet interface and its corresponding IP address from Linux "ip a s"

I am trying to list all the ethernet device names and its assigned IP address available in the RHEL node using the output of ip addr show command I print all the network interfaces names only with the ...
Ibrahim Quraish's user avatar
-1 votes
1 answer
262 views

Find the IP address of my machine by reading a file

This is part of school project I'm working on where I can only read files from a linux machine (I can't execute commands or anything else) and I need to find its public IP. Is there a way to do it?
Da Mike's user avatar
  • 465
0 votes
1 answer
169 views

Global connection via netcat [closed]

I would like to make very easy connection between two devices: Device One is in WiFi1 and Device Two in WiFi2; The Device One has local address 192.168.4.65; The WiFi1 has IP address 12.34.56.78 (only ...
gXLg's user avatar
  • 304
0 votes
1 answer
443 views

Referring same IP with different canonical or alias name in /etc/hosts

Would like to access my application - instead of from http://foomachine.mydomain.org:8080 to http://someFancynewCanonicalName.mydomain.org:8080 Tried with editing /etc/hosts considering it is in ...
vinWin's user avatar
  • 553
1 vote
1 answer
291 views

Client IP address at server using RDMA?

I have an RDMA program which works well. Now I have a requirement that I want to get the client IP address after the RDMA connection is established. Socket API recv automatically provided source ...
Gemini's user avatar
  • 107
1 vote
0 answers
249 views

Physical MAC address in Linux

I searched google but couldn't find a valid solution. I have a system where there are some physical MAC addresses and some MACs(~30) created by docker. For my need, I need only Physical MACs. So far ...
Dinesh Gowda's user avatar
  • 1,104

15 30 50 per page
1
2 3 4 5
8