Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #192750 > unrolled thread
| Started by | Long Wind <longwind2@yahoo.com> |
|---|---|
| First post | 2018-02-20 08:50 +0100 |
| Last post | 2018-02-20 13:10 +0100 |
| Articles | 9 — 6 participants |
Back to article view | Back to linux.debian.user
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: how to offer Internet connection? Long Wind <longwind2@yahoo.com> - 2018-02-20 08:50 +0100
Re: how to offer Internet connection? "Michelle Konzack" <linux4michelle@tamay-dogan.net> - 2018-02-20 10:30 +0100
Re: how to offer Internet connection? err404@free.fr - 2018-02-20 10:40 +0100
Re: how to offer Internet connection? Long Wind <longwind2@yahoo.com> - 2018-02-20 10:50 +0100
Re: how to offer Internet connection? john doe <johndoe65534@mail.com> - 2018-02-20 11:20 +0100
Re: how to offer Internet connection? Long Wind <longwind2@yahoo.com> - 2018-02-20 10:40 +0100
(solved) Re: how to offer Internet connection? Long Wind <longwind2@yahoo.com> - 2018-02-20 10:50 +0100
Re: how to offer Internet connection? "Michelle Konzack" <michelle.konzack@tamay-dogan.net> - 2018-02-20 10:50 +0100
Re: how to offer Internet connection? Jude DaShiell <jdashiel@panix.com> - 2018-02-20 13:10 +0100
| From | Long Wind <longwind2@yahoo.com> |
|---|---|
| Date | 2018-02-20 08:50 +0100 |
| Subject | Re: how to offer Internet connection? |
| Message-ID | <vlaQx-66Y-5@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Thank Michelle Konzack and John Doe!
maybe the easy way is buy a wireless card for pc and connect it to cell phone
or connect pc to cell phone thru a USB connectiondoes linux or XP support such network connection?
On Tuesday, February 20, 2018 1:54 AM, john doe <johndoe65534@mail.com> wrote:
On 2/20/2018 7:30 AM, Long Wind wrote:
> i have a debian pc that is on 2 networks:
> 1) connected to cell phone access point, cell phone offers Internet connection2) connected to router, thru ethernet interface
> is it possilble for debian pc to offer Internet connection to other pc connected to router?
> Thanks!
> PS: other pc don't have wireless card and can't connect to cell phone
>
I'm not sure I understand your question:
So you have one Debian box with two internet connections (cellphone AP,
and wired connection to router)?
If so that Debian box would need to act as a router to share those
internet connections to the rest of your network.
--
John Doe
[toc] | [next] | [standalone]
| From | "Michelle Konzack" <linux4michelle@tamay-dogan.net> |
|---|---|
| Date | 2018-02-20 10:30 +0100 |
| Message-ID | <vlcpk-7b6-5@gated-at.bofh.it> |
| In reply to | #192750 |
Hi back, Am 2018-02-20 hackte Long Wind in die Tasten: > Thank Michelle Konzack and John Doe! > maybe the easy way is buy a wireless card for pc and connect it to cell > phone If you have time, you can get for less then 5 Euro USB Wireless adapters from eBay... Do not expect, they are working over more then 10-15m and trough a concrete wall... > or connect pc to cell phone thru a USB connectiondoes linux or XP support > such network connection? You mean USBNet? AFAIK it is supported by Win7 Win8 and Win10, but it should be in first place supported by zour cellphone which I dubt... I have not found a singel one where it works. > On Tuesday, February 20, 2018 1:54 AM, john doe > <johndoe65534@mail.com> wrote: > > > On 2/20/2018 7:30 AM, Long Wind wrote: >> i have a debian pc that is on 2 networks: >> 1) connected to cell phone access point, cell phone offers Internet >> connection2) connected to router, thru ethernet interface >> is it possilble for debian pc to offer Internet connection to other pc >> connected to router? >> Thanks! >> PS: other pc don't have wireless card and can't connect to cell phone >> > > I'm not sure I understand your question: > > So you have one Debian box with two internet connections (cellphone AP, > and wired connection to router)? > If so that Debian box would need to act as a router to share those > internet connections to the rest of your network. -- Michelle Konzack Miila ITSystems @ TDnet GNU/Linux Developer 00372-54541400
[toc] | [prev] | [next] | [standalone]
| From | err404@free.fr |
|---|---|
| Date | 2018-02-20 10:40 +0100 |
| Message-ID | <vlcyZ-7g5-5@gated-at.bofh.it> |
| In reply to | #192754 |
you can connect your PC with usb cable to the phone.
on your smartphone you need to enabling "sharing by usb"
and your smartphone will become router and dhcpd server for your PC.
on your pc, you will have usb0 interface (with 0 can be more), or unpredictable interface name like enxxxxxxxxx.
but...
if you realy want use one of your pc like a router, you need to activate "net.ipv4.ip_forward = 1" in /etc/sysctl.conf
and many time you will want nat from your local networt to Internet.
so, you will
- define statics IP and adding routes, or
- configure a dhcpd server
nat routing:
iptables -A POSTROUTING -s {{base_ip}}.{{client_network}}/{{masque}} -j MASQUERADE
replace {{base_ip}}.{{client_network}}/{{masque}} with your values (yes it may become little bit complicated)
(some time, I think using babeld is simpler...)
I am sure I omit some pieces to your configuration
[toc] | [prev] | [next] | [standalone]
| From | Long Wind <longwind2@yahoo.com> |
|---|---|
| Date | 2018-02-20 10:50 +0100 |
| Message-ID | <vlcIG-7kN-5@gated-at.bofh.it> |
| In reply to | #192755 |
[Multipart message — attachments visible in raw view] — view raw
Thank err404!
it's too hard for me to make a linux pc become router
On Tuesday, February 20, 2018 4:34 AM, "err404@free.fr" <err404@free.fr> wrote:
you can connect your PC with usb cable to the phone.
on your smartphone you need to enabling "sharing by usb"
and your smartphone will become router and dhcpd server for your PC.
on your pc, you will have usb0 interface (with 0 can be more), or unpredictable interface name like enxxxxxxxxx.
but...
if you realy want use one of your pc like a router, you need to activate "net.ipv4.ip_forward = 1" in /etc/sysctl.conf
and many time you will want nat from your local networt to Internet.
so, you will
- define statics IP and adding routes, or
- configure a dhcpd server
nat routing:
iptables -A POSTROUTING -s {{base_ip}}.{{client_network}}/{{masque}} -j MASQUERADE
replace {{base_ip}}.{{client_network}}/{{masque}} with your values (yes it may become little bit complicated)
(some time, I think using babeld is simpler...)
I am sure I omit some pieces to your configuration
[toc] | [prev] | [next] | [standalone]
| From | john doe <johndoe65534@mail.com> |
|---|---|
| Date | 2018-02-20 11:20 +0100 |
| Message-ID | <vldbI-7Ka-3@gated-at.bofh.it> |
| In reply to | #192759 |
On 2/20/2018 10:41 AM, Long Wind wrote: > Thank err404! > it's too hard for me to make a linux pc become router > In that case something like the following could be considered (they are other alternatives out there): http://www.ipcop.org/ The only thing that would need to be done behind that "router" would be to connect all your devices to that router (wireless or cable). -- John Doe
[toc] | [prev] | [next] | [standalone]
| From | Long Wind <longwind2@yahoo.com> |
|---|---|
| Date | 2018-02-20 10:40 +0100 |
| Message-ID | <vlcyZ-7g5-7@gated-at.bofh.it> |
| In reply to | #192754 |
[Multipart message — attachments visible in raw view] — view raw
network connection thru usb seem standard feature of androideven my old android 4 has it
www.android.com/tether#usb
(this site and google are blocked in China)
again buying usb card is easy way for mei find a usb card that only costs 25 RMBand it claim it supports linux
(1 USD is about 6.35 RMB)
On Tuesday, February 20, 2018 4:22 AM, Michelle Konzack <linux4michelle@tamay-dogan.net> wrote:
Hi back,
Am 2018-02-20 hackte Long Wind in die Tasten:
> Thank Michelle Konzack and John Doe!
> maybe the easy way is buy a wireless card for pc and connect it to cell
> phone
If you have time, you can get for less then 5 Euro USB Wireless
adapters from eBay... Do not expect, they are working over more
then 10-15m and trough a concrete wall...
> or connect pc to cell phone thru a USB connectiondoes linux or XP
support
> such network connection?
You mean USBNet? AFAIK it is supported by Win7 Win8 and Win10,
but it should be in first place supported by zour cellphone
which I dubt... I have not found a singel one where it works.
> On Tuesday, February 20, 2018 1:54 AM, john doe
> <johndoe65534@mail.com> wrote:
>
>
> On 2/20/2018 7:30 AM, Long Wind wrote:
>> i have a debian pc that is on 2 networks:
>> 1) connected to cell phone access point, cell phone offers Internet
>> connection2) connected to router, thru ethernet interface
>> is it possilble for debian pc to offer Internet connection to other pc
>> connected to router?
>> Thanks!
>> PS: other pc don't have wireless card and can't connect to cell phone
>>
>
> I'm not sure I understand your question:
>
> So you have one Debian box with two internet connections (cellphone AP,
> and wired connection to router)?
> If so that Debian box would need to act as a router to share those
> internet connections to the rest of your network.
--
Michelle Konzack Miila ITSystems @ TDnet
GNU/Linux Developer 00372-54541400
[toc] | [prev] | [next] | [standalone]
| From | Long Wind <longwind2@yahoo.com> |
|---|---|
| Date | 2018-02-20 10:50 +0100 |
| Subject | (solved) Re: how to offer Internet connection? |
| Message-ID | <vlcIG-7kN-7@gated-at.bofh.it> |
| In reply to | #192756 |
[Multipart message — attachments visible in raw view] — view raw
Thanks to all those who reply!
On Tuesday, February 20, 2018 4:37 AM, Long Wind <longwind2@yahoo.com> wrote:
network connection thru usb seem standard feature of androideven my old android 4 has it
www.android.com/tether#usb
(this site and google are blocked in China)
again buying usb card is easy way for mei find a usb card that only costs 25 RMBand it claim it supports linux
(1 USD is about 6.35 RMB)
On Tuesday, February 20, 2018 4:22 AM, Michelle Konzack <linux4michelle@tamay-dogan.net> wrote:
Hi back,
Am 2018-02-20 hackte Long Wind in die Tasten:
> Thank Michelle Konzack and John Doe!
> maybe the easy way is buy a wireless card for pc and connect it to cell
> phone
If you have time, you can get for less then 5 Euro USB Wireless
adapters from eBay... Do not expect, they are working over more
then 10-15m and trough a concrete wall...
> or connect pc to cell phone thru a USB connectiondoes linux or XP
support
> such network connection?
You mean USBNet? AFAIK it is supported by Win7 Win8 and Win10,
but it should be in first place supported by zour cellphone
which I dubt... I have not found a singel one where it works.
> On Tuesday, February 20, 2018 1:54 AM, john doe
> <johndoe65534@mail.com> wrote:
>
>
> On 2/20/2018 7:30 AM, Long Wind wrote:
>> i have a debian pc that is on 2 networks:
>> 1) connected to cell phone access point, cell phone offers Internet
>> connection2) connected to router, thru ethernet interface
>> is it possilble for debian pc to offer Internet connection to other pc
>> connected to router?
>> Thanks!
>> PS: other pc don't have wireless card and can't connect to cell phone
>>
>
> I'm not sure I understand your question:
>
> So you have one Debian box with two internet connections (cellphone AP,
> and wired connection to router)?
> If so that Debian box would need to act as a router to share those
> internet connections to the rest of your network.
--
Michelle Konzack Miila ITSystems @ TDnet
GNU/Linux Developer 00372-54541400
[toc] | [prev] | [next] | [standalone]
| From | "Michelle Konzack" <michelle.konzack@tamay-dogan.net> |
|---|---|
| Date | 2018-02-20 10:50 +0100 |
| Message-ID | <vlcIF-7kN-3@gated-at.bofh.it> |
| In reply to | #192750 |
Hi back, Am 2018-02-20 hackte Long Wind in die Tasten: > Thank Michelle Konzack and John Doe! > maybe the easy way is buy a wireless card for pc and connect it to cell > phone If you have time, you can get for less then 5 Euro USB Wireless adapters from eBay... Do not expect, they are working over more then 10-15m and trough a concrete wall... > or connect pc to cell phone thru a USB connectiondoes linux or XP support > such network connection? You mean USBNet? AFAIK it is supported by Win7 Win8 and Win10, but it should be in first place supported by zour cellphone which I dubt... I have not found a singel one where it works. > On Tuesday, February 20, 2018 1:54 AM, john doe > <johndoe65534@mail.com> wrote: > > > On 2/20/2018 7:30 AM, Long Wind wrote: >> i have a debian pc that is on 2 networks: >> 1) connected to cell phone access point, cell phone offers Internet >> connection2) connected to router, thru ethernet interface >> is it possilble for debian pc to offer Internet connection to other pc >> connected to router? >> Thanks! >> PS: other pc don't have wireless card and can't connect to cell phone >> > > I'm not sure I understand your question: > > So you have one Debian box with two internet connections (cellphone AP, > and wired connection to router)? > If so that Debian box would need to act as a router to share those > internet connections to the rest of your network. >
[toc] | [prev] | [next] | [standalone]
| From | Jude DaShiell <jdashiel@panix.com> |
|---|---|
| Date | 2018-02-20 13:10 +0100 |
| Message-ID | <vleUa-o5-17@gated-at.bofh.it> |
| In reply to | #192757 |
I'm pretty sure part of the software side of this will be setting up sshd-server as securely as possible and installing the fail2ban package for those who make too many mistakes entering passwords for private accounts. If what's envisioned is a public internet site that has its own set of security requirements and problems. On Tue, 20 Feb 2018, Michelle Konzack wrote: > Date: Tue, 20 Feb 2018 04:20:09 > From: Michelle Konzack <michelle.konzack@tamay-dogan.net> > To: debian-user@lists.debian.org > Subject: Re: how to offer Internet connection? > Resent-Date: Tue, 20 Feb 2018 09:42:20 +0000 (UTC) > Resent-From: debian-user@lists.debian.org > > Hi back, > > Am 2018-02-20 hackte Long Wind in die Tasten: >> Thank Michelle Konzack?? and John Doe! >> maybe the easy way is buy a wireless card for pc and connect it to cell >> phone > > If you have time, you can get for less then 5 Euro USB Wireless > adapters from eBay... Do not expect, they are working over more > then 10-15m and trough a concrete wall... > >> or connect pc to cell phone thru a USB connectiondoes linux or XP support >> such network connection? > > You mean USBNet? AFAIK it is supported by Win7 Win8 and Win10, > but it should be in first place supported by zour cellphone > which I dubt... I have not found a singel one where it works. > >> On Tuesday, February 20, 2018 1:54 AM, john doe >> <johndoe65534@mail.com> wrote: >> >> >> On 2/20/2018 7:30 AM, Long Wind wrote: >>> i have a debian pc that is on 2 networks: >>> 1) connected to cell phone access point, cell phone offers Internet >>> connection2) connected to router, thru ethernet interface >>> is it possilble for debian pc to offer Internet connection to other pc >>> connected to router? >>> Thanks! >>> PS: other pc don't have wireless card and can't connect to cell phone >>> >> >> I'm not sure I understand your question: >> >> So you have one Debian box with two internet connections (cellphone AP, >> and wired connection to router)? >> If so that Debian box would need to act as a router to share those >> internet connections to the rest of your network. >> > > --
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web